मैं कॉर्डोवा अनुप्रयोगों के विकास के लिए दृश्य स्टूडियो का उपयोग कर रहा हूं।विजुअल स्टूडियो कॉर्डोवा गुम जानकारी .plist कुंजी
यदि मैं एक्सकोड 8 के साथ स्टोर में अपना ऐप अपलोड करता हूं, तो मुझे निम्न त्रुटि मेल मिलता है।
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.
एक अन्य stackoverflow-प्रश्न के आधार पर मैं प्लगइन https://github.com/leecrossley/cordova-plugin-transport-security
जोड़ा गया है और plugin.xml संशोधित:
<plugin name="cordova-plugin-transport-security" version="0.1.2" src="C:\Users\xxx\cordova-plugin-transport-security-master\cordova-plugin-transport-security-master" />
:
<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>
मेरी config.xml में
इसके बाद मैं आईओ के लिए ऐप का निर्माण करता हूं एस और इसे एक्सकोड के माध्यम से अपलोड किया।
लेकिन त्रुटि अभी भी वहां है।
लिंक में पोस्ट किए गए उत्तर को देखें - http://stackoverflow.com/questions/41525725/phonegap-missing-plist-key एक समान समस्या की तरह दिखता है – Gandhi