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

前端 未结 5 1661
误落风尘
误落风尘 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

    I'm using VS TACO and this is how I finally resolved this issue. Edit the \plugins\fetch.json file so the "cordova-plugin-camera" adding the "variables" section:

    "cordova-plugin-camera": {
        "source": {
            "type": "registry",
            "id": "cordova-plugin-camera@~2.4.1"
        },
        "is_top_level": true,
        "variables": {
            "CAMERA_USAGE_DESCRIPTION": "your description text here",
            "PHOTOLIBRARY_USAGE_DESCRIPTION": "your description text here"
        }
    }
    

提交回复
热议问题