local libraries in xamarin not updating [duplicate] - macos

This question already has answers here:
Xamarin Forms Android Error: Please install package 'Android Support Library'
(13 answers)
Closed 6 years ago.
I've developed a project in windows,later i loaded into my mac mini it was running fine,then i've seen package updates available ,when updated i got 39 errors saying
/Users/xxxx/Projects/TimeSheet/TimeSheet: Error XA5209: Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the /Users/xxxxx/.local/share/Xamarin/Android.Support.v7.RecyclerView/23.3.0.0/content directory. (XA5209) (TimeSheet)
when i checked this directory ""/Users/xxxxx/.local/share/Xamarin/Android.Support.v7.RecyclerView/23.3.0.0/ """" there was nothing updated in 23.3.0.0 Folder in mac.is there any restriction is there guys? please help me
Thank you

You don't want to download the latest Android support libraries since Xamarin uses an older version. They take longer to update since they need to do the translation.
The current version that is compatible is 23.0.1.3.
See the Troubleshooting guide for more information.

Related

Non-public API usage Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute error on upload of flutter app

I've spent the last two days trying to submit my app to the App Store. I get the message below:
ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Here's what Ive done so far:
a) I've scoured my code for any reference to Font Sizes - I had some that were constants - I changed the constant name to:
k_fontSizeMyName
b) I tried to download the latest flutter sdk version
c) I rebuilt my entire keychain.
Im so desperate right now. im tired.
What do I do?
the internet has no mention of this bug.
I've got the same message several times from the App Store Team a few minutes ago.
I think the problem was the Flutter SDK version...!
I used to use the latest version(Flutter SDK version 1.12.3-pre.26) at first but changed the Flutter SDK version to 'v1.9.1+hotfix.3' and the problem is resolved!!!
I solved the problem with the following instruction below:
Switching Flutter SDK version to 'v1.9.1+hotfix.3' with the command:
flutter version v1.9.1+hotfix.3
Archive and upload again ...
Problem Solved!!!!!! 🤩
This may be a recently-introduced Skia regression.
The code was included in Flutter v1.12.3, so v1.12.2 on the dev channel should work.
Flutter's Bad Build wiki page will be updated when there is a fix for this issue.
Update: This has been resolved in Flutter v1.12.5.
Since there have been a lot of problems with flutter recently(when I tried the fix mentioned in another answer I different error) I though I should include this https://github.com/flutter/flutter/releases
Just type flutter version [version code]

Titanium Appcelerator Ti Media Picker widget

I am trying to use the widget https://github.com/appcelerator-forks/gimdongwoo.ti-media-picker-widget
But I am receiving the error:
[ERROR] : Script Error Couldn't find module: ti.mediapicker for architecture: x86_64
I follow the instructions, but it is not working for me.
Can you help me?
Thanks
Since it is a widget you need to look at the actual module that is used. In this case it is: https://github.com/gimdongwoo/TiMediaPicker and the iOS version is 3 years old (Ti SDK 3.5.0) and needs to be recompiled. So you need to download the repo (https://github.com/gimdongwoo/TiMediaPicker) and compile the module for iOS with the latest SDK. Details here: http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Module_Quick_Start

AWS Framework and XCode Conundrum [duplicate]

This question already has answers here:
Submit to App Store issues: Unsupported Architecture x86
(17 answers)
Closed 6 years ago.
I am trying to upload an XCode project to App Store and running into frameworks related issues. The project has AWSCore framework, which rather than cocoa pods route, has been manually downloaded and added to the project. It also has been added to both the 'Build Phases' settings of target - 'Embedded Binaries' and 'Linked Frameworks and Libraries'. These two setting combined however, might be causing the below mentioned issues while uploading the project to App Store:
ERROR ITMS-90087: "Unsupported Architectures. The executable for /Frameworks/AWSCore.framework contains unsupported architectures '[x86_64, i386]’."
ERROR ITMS-90209: "Invalid Segment Alignment. /Frameworks/AWSCore.framework/AWSCore' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
I do have the latest version of XCode, so not sure why I am getting the second error message. Some StackOverflow posts suggested removing the framework from 'Embedded Binaries' section of 'Build Phases', but that's introducing the following run time error:
dyld: Library not loaded: #rpath/AWSCore.framework/AWSCore Referenced from: /var/containers/Bundle/Application/
This seems to be quite a conundrum. Wondering if anyone else has run into same issue and what has been the fix? Thanks!
As pointed out by William GP in the comments to the question, my question was similar to the one asked here: Submit to App Store issues: Unsupported Architecture x86.
Please see the following link for the perfectly well described analysis of the problem and also detailed solution by Daniel Kennett: http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/

Facebook SDK for iOS6/Xcode 4.5 not working [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
file is universal (3 slices) but does not contain a(n) armv7s slice error for static libraries on iOS, anyway to bypass?
Recently upgraded Xcode and my iOS devices to the latest respective versions and i'm now unable to build an app using the Facebook SDK (version 3.0.8) for a device - building on the Simulator works fine.
Error I'm receiving whilst trying to build:
file is universal (3 slices) but does not contain a(n) armv7s slice: ....FacebookSDK.framework/FacebookSDK for architecture armv7s
I've noticed that on the iOS SDK landing page (http://developers.facebook.com/ios/) they have this peice of text..
Upgrade to 3.0 SDK. We will be adding support for the much anticipated iOS 6 integration to the SDK in the coming weeks.
So.. is that it? Am i literally unable to continue to work for potentially weeks until they support iOS6?
I'm hoping there is a quick fix for this, surely I can't be the only one in this situation.
Thanks for any help you can offer.
For a temporary fix you can do what Sudhakar said, but the app won't run on an iPhone 5, (or atleast with my tests it didn't). You really need a properly compiled SDK.
The current Facebook SDK is build for armv6. I hear they are working on getting a new version out asap that is build for armv7.
In the meantime you can clone down the facebook SDK from github and compile the SDK to work with armv7 yourself. Below are the instructions:
Download or clone a copy of the source code from the git hub page (https://github.com/facebook/facebook-ios-sdk)
Open up the xcode project and in the build settings change the architecture to armv7.
Save and close
Navigate to /scripts and in terminal run build_all.sh
This will then compile the source and output builds/FacebookSDK.framework
To get this to work I had to clone the git repository to /Desktop/iOS
I replaced the FacebookSDK.framework that was within my app with the newly created version and it worked like a charm.
good luck!
Click the your are Xcode Project -> in Architures tab -> valid Architures -> keep armv7 only and remove armv7s.
In my case it working fine, this is only temparary solution.

How can I install dashcode (part of Apple's developer suite)? [duplicate]

This question already has an answer here:
Can't find Dashcode after installing Xcode 4 on brand new MacBook
(1 answer)
Closed 5 years ago.
I've installed XCode from the App Store, but it doesn't include Dashcode. I found this (somewhat out of date) solution, that says to just download XCode from the Apple Developer Connection and it's included in that bundle, but I don't think I can/want to do that, since I already have XCode installed from the App Store.
What should I do-- short of UNinstalling Xcode via the App Store (which appears to include only XCode, not Dashcode with it), then downloading the "big" Xcode package from Developer Connection?
thanks
E
In Xcode, choose the menu Xcode > Open Developer Tool > More Developer Tools....
Then download "Dashcode for Xcode".
The disk image contains the Dashcode app itself; you can put it wherever you want, and there is no need to install any packages or bundles.
(This is all explained in the "What's New In Xcode" documentation.)

Resources