Flash3001 / iOSCharts.Xamarin

A Xamarin port by Lucas Teixeira for Charts (ios-charts) by Daniel Cohen Gindi, inspired by Philipp Jahoda
Other
68 stars 20 forks source link

Invalid Swift Support and Missing Info.plist key #24

Closed mingxli closed 7 years ago

mingxli commented 7 years ago

Hello Flash3001,

I ran into an weird issue after I published my app to the iTune Store. I am using iOSChart 3.0.2. I ran the script file that is provided at https://github.com/Flash3001/ipa-packager/blob/master/package_ipa_default.sh. Here are the error messages that I received from iTune Store:

Invalid Swift Support - The files libswiftCore.dylib, libswiftCoreGraphics.dylib, libswiftUIKit.dylib, libswiftCoreMedia.dylib, libswiftCoreData.dylib, libswiftos.dylib, libswiftCoreAudio.dylib, libswiftDarwin.dylib, libswiftDispatch.dylib, libswiftFoundation.dylib, libswiftQuartzCore.dylib, libswiftObjectiveC.dylib, libswiftCoreImage.dylib don’t match /Payload/MyApp.app/Frameworks/libswiftCore.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreGraphics.dylib, /Payload/MyApp.app/Frameworks/libswiftUIKit.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreData.dylib, /Payload/MyApp.app/Frameworks/libswiftos.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib, /Payload/MyApp.app/Frameworks/libswiftDarwin.dylib, /Payload/MyApp.app/Frameworks/libswiftDispatch.dylib, /Payload/MyApp.app/Frameworks/libswiftFoundation.dylib, /Payload/MyApp.app/Frameworks/libswiftQuartzCore.dylib, /Payload/MyApp.app/Frameworks/libswiftObjectiveC.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreImage.dylib.

Make sure the files are correct, rebuild your app, and resubmit it. Don’t apply post-processing to /Payload/MyApp.app/Frameworks/libswiftCore.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreGraphics.dylib, /Payload/MyApp.app/Frameworks/libswiftUIKit.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreData.dylib, /Payload/MyApp.app/Frameworks/libswiftos.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib, /Payload/MyApp.app/Frameworks/libswiftDarwin.dylib, /Payload/MyApp.app/Frameworks/libswiftDispatch.dylib, /Payload/MyApp.app/Frameworks/libswiftFoundation.dylib, /Payload/MyApp.app/Frameworks/libswiftQuartzCore.dylib, /Payload/MyApp.app/Frameworks/libswiftObjectiveC.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreImage.dylib.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSSiriUsageDescription key with a string value explaining to the user how the app uses this data.

Prior to adding the iOSChart, my app did not need those Info.plist keys, does my app need to add the missing Info.plist keys for the iOSChart?

Any help or advice would be greatly appreciated. Thank you very much!

Ming

mingxli commented 7 years ago

In addition, I am on MacOS Sierra version 10.12.4 and the Xcode version is 8.3.2

mingxli commented 7 years ago

After updating the Xamarin.Swift3.*** packages to 3.1.0.2, everything is working fine now. 👍