How to resolve “Missing Info.plist key … NSPhotoLibraryUsageDescription”

前端 未结 5 1659
误落风尘
误落风尘 2020-12-31 09:17

I upload my .ipa file completely using application loader but i didn\'t find the built on Itunes Connect also i receive this message from apple support :\"We have discovered

5条回答
  •  天涯浪人
    2020-12-31 10:08

    EDIT: All core plugins have been updated to not use variables anymore. To set the usage descriptions you have to use edit-config tag in the config.xml like this:

    
        need camera access to take pictures
    
    

    See iOS Quirks section

    OLD ANSWER: First remove the cordova-plugin-camera with cordova plugin rm cordova-plugin-camera

    And then install it again with:

    cordova plugin add cordova-plugin-camera --variable PHOTOLIBRARY_USAGE_DESCRIPTION="your usage message"
    

提交回复
热议问题