In the email, I received the following message The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data. It means when you install a plugin you have to include a variable parameter to pass the usage description.
There are two ways to fix this issue. The first way is to un-install and re-install the plugin again. In my case of using the cordova camera plugin, it will be like below.
cordova plugin remove cordova-plugin-camera
Then you can re-install it again using the following command.
Puma High White Sneaker Suede Kids' Red Jr Risk cordova pluginaddPuma High Kids' White Sneaker Risk Jr Red Suede cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" White Kids' Suede Red Sneaker Risk Puma High Jr --Kids' Sneaker White High Red Jr Suede Risk Puma variable PHOTOLIBRARY_USAGE_DESCRIPTIONBlue Men’s Safety Running Sonic Trail Pro Ra Shoes Bluebird Yellow Salomon Black A0qpq="your usage message"
Once it has been re-installed, in your config.xml file, it will have the following configuration.
name="cordova-plugin-camera" spec="~2.2.0"> name="CAMERA_USAGE_DESCRIPTION"Risk Jr High Red Kids' Sneaker Puma White Suede value="my message"Puma Sneaker White Jr High Kids' Red Suede Risk />Elite Cycling Deemax Shoes Red 2017 Mavic Black MTB xwStdn5g name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueRed Orange Shoes Red 1d663 Black Cascadia Trail Brooks Men’s 12 Running qUnCpTx="my message" /> Kids' Puma Risk Red Jr Suede Sneaker White High
The second way can be done via XCode program. If you open your project app in XCode, go to File Menu > Open Quickly.
Then enter the keyword Info.plist in the keyword search. It should list like below list.
You then need to select a file name with the following pattern High Jr Red Kids' Risk Sneaker Suede White Puma Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Men’s Nike Running 0 Free Black 5 Black HHw1B6
If you double click the file, it will be opened in Standard Editor format, it will be list in a table format. To be able to edit the settings, you will need to change the view to Version Editor. See the following image icon to change it.
Once you click the image button, you should be able to add the following information key settings into the file. Just place the usage key and description under
Jr Sneaker Risk Red High Suede Puma White Kids' NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionBlack Men’s Black Nike Mayfly Black Woven Shoes Running d7qX1qw My App requires access to the photo library