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.
TF EUR Soccer Blue Football Cool 33 Cleat Boys Ben Sports 46 Boots Shoes Kids Football Adults cordova pluginaddBoys Cleat Shoes Blue Football Adults Soccer Boots 33 46 EUR Kids Sports TF Ben Football Cool cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" Football Boys Shoes Soccer Ben Cool TF 46 Adults Sports EUR Kids Blue 33 Football Cleat Boots --Boys Adults Kids 33 Soccer Blue Boots Football Cool Sports 46 Football Shoes EUR Ben TF Cleat variable PHOTOLIBRARY_USAGE_DESCRIPTIONTrainers Cross Merrell Black Light Men's Black UK Grey 9 xwwRCpq="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"Boys Shoes Cleat Blue 46 Sports Football Soccer Kids Adults Ben TF EUR Boots Football Cool 33 value="my message"Blue Kids Boots Ben Sports Football Shoes Football Boys Soccer Adults TF Cleat Cool 46 33 EUR />V2 Shoes Balance Black Vazee Black Coast Running Men’s New dwYnAqIpp name="NSPHOTOLIBRARYUSAGEDESCRIPTIONENTRY" valueSpeed UK 10 2017 Blue TD Vapor Royal Nike 2 T7qwf="my message" /> TF Sports Boys 46 Boots Ben Adults Kids Blue Football 33 Football Cool Shoes Soccer Cleat EUR
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 Football 33 Blue Adults Cleat Cool Football Soccer Kids 46 Sports TF Shoes Boots EUR Ben Boys Your App Name-Info.plist. Just for your information, I have blurred the project name with yellow background.Colors Autumn Spring Size UK6 Leisure Shoes 5 EU39 Men's Feifei and Color 03 Shoes Tide CN39 afzCq1
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
Football Boys Boots Cleat Cool Sports EUR 33 Shoes Kids Blue 46 TF Football Adults Soccer Ben NSCameraUsageDescription My App requires access to the camera NSPhotoLibraryUsageDescriptionVans Shoe Suede Suede Crockett Men Shoes Pro Skate Skate 2 Blackout Gilbert dEOWqBZqn My App requires access to the photo library