Cordova uygulamaları geliştirmek için görsel stüdyosu kullanıyorum.Visual Studio Cordova Eksik Info.plist anahtarı
Uygulamamı Xcode8 ile Mağaza'ya yüklerseniz, aşağıdaki hata postasını alırım. Bir diğer stackoverflow-sorusundan yola çıkarak
Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
boyunca hep şeffaf eklentisi https://github.com/leecrossley/cordova-plugin-transport-security
eklendi ve plugin.xml modifiye:
<plugin name="cordova-plugin-transport-security" version="0.1.2" src="C:\Users\xxx\cordova-plugin-transport-security-master\cordova-plugin-transport-security-master" />
: Benim config.xml olarak
<platform name="ios"> <config-file target="*-Info.plist" parent="NSAppTransportSecurity"> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSPhotoLibraryUsageDescription</key> <string>This app requires access to the photo library.</string> <key>NSMicrophoneUsageDescription</key> <string>This app does not require access to the microphone.</string> <key>NSCameraUsageDescription</key> <string>This app requires access to the camera.</string> </dict> </config-file> </platform>
Bundan sonra iO için uygulamayı yapıyorum S ve xcode ile yükledim.
Ancak hata hala var.
Bağlantıda gönderdiğim yanıtı kontrol edin - http://stackoverflow.com/questions/41525725/phonegap-missing-plist-key Benzer bir soruna benziyor – Gandhi