Getting this error message, on iOS app build (edited for clarity).
Any help?
objc[5636]: Class PLBuildVersion is implemented in both
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x119d0ecc0) and
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x119b256f0).
One of the two will be used. Which one is undefined.
Try to
tns platform remove ios
tns platform add ios
Related
I added support to my universal target for watchOS, I then made sure the app compiles successfully for watchOS. However, when I try and run the app on the simulator, I get the error:
Please try again later.
com.xxx.xxx: Missing WKCompanionAppBundleIdentifier key in WatchKit 2.0 app's > Info.plist
This doesn't make sense to me because there is no companion app, it's just a watch only app at that point? I've tried adding the WKCompanionAppBundleIdentifier key to the plist but it then tells me it can't find the companion app's bundle identifier.
Little lost here, any insight on how to get universal targets to run on the watch in Xcode 14?
I'm facing a strange error. App only crashes on physical device. But iOS simulator does not. It working fine.
The strange thing is it crashes when you open an app and FinishedLaunching(UIApplication app, NSDictionary options) method does not call at all.
What possibilities might have this issue?
One of the third-party iOS library (nuget package) was configured to iOS-Simulator. not physical iOS.
After the package author released hot-fix, it resolved.
try to change the linker Behaviour use the SDK-Only
go to Xamarin.iOS solution select ios build choose linker behaviour and change it
I have installed the NativeScript Playground App on my iPhone XR with iOS 14.0 (18A373) and the app directly crash after start. So I can not scan the QR code from play.nativescript.com
This seems to be a common problem with running Nativescript apps on iPhones with iOS 14.
My app, which has been fine for the past year, suddenly failed and I'm now trying to find a solution as rebuilding with XCode 12 also fails...
https://github.com/NativeScript/NativeScript/issues/8867
https://github.com/NativeScript/NativeScript/issues/8916
Follow up:
I got it working in Xcode 12 though not entirely clear how... basically I did this:
installed "tns-ios": "6.5.2"
tns platform remove ios, tns platform add ios
tns build ios --release
Went to XCode and selected Product > Archive (which rebuilds it)
This build succeeds and when deployed to the App Store it worked in FlightTest.
This fix is to update tns-ios to 6.5.2 but you also have to make a change to your Podfile and build.xcconfig. I wrote a tutorial on the steps I took to fix the issue: https://timleland.com/how-to-fix-nativescript-issue-with-ios14-and-xcode-12/
Playground and Preview Updates are now available with iOS 14 compliance:
https://twitter.com/NativeScript/status/1325994280003891200
NativeScript Playground v1.9.0
NativeScript Preview 1.31.0
I am trying to compile and run an app that is working fine in the iOS simulator, but with Android I'm receiving
"System.MissingFieldException: Field 'Xamarin.Forms.Slider.MinimumTrackColorProperty' not found."
when trying to put it through the simulator.
Any idea why it doesn't like me setting the MinimumTrackColor?
It looks like the stable version of Xamarin.Forms for Android doesn't include that property.
I've upgraded it to the development branch, and now it doesn't throw an error but the colors are still off. I'm guessing this is just part of the dev process of the nugget.
Thank you, SushiHangover.
I'm trying to experiment with HealthKit on both iOS 9 and WatchOs 2.0, but when I try to turn on HealthKit in the project's Capabilities page, I get the following error message:
Link HealthKit.framework
The framework 'HealthKit.framework' was not found in the SDK for this
target.
The same happens for both the iOS App and the WatchKit App Extension.
I tried to manually find the framework in Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library, but it's not there either.
I'm using XCode 7.0 Beta 4.
Any tips?
Thanks!
So, I excluded Xcode and re-downloaded it.
HealthKit was suddenly there again.
Go figures..