Facing issues while adding entry in info.plist with cordova-plugin-edit-plist plugin

Hi,

We are trying to add our app's IPA on testflight, but while doing so, we got few issues raised from App Store.

Issue: Missing Purpose String in Info.plist for NSPhotoLibraryUsageDescription

 

We tried to follow the below post so that we can edit the info.plist for an IPA generated from outsystems and add this missing entry.

https://www.outsystems.com/forums/discussion/22505/how-to-add-entries-to-plist-file-for-ios/#Post116404

 

But after using the plugin, we are facing an issue while generating the build now.

It fails with this error: Invalid Cordova plugin cordova-plugin-edit-plist-file-master

 

Can anyone please help us on how to resolve this issue ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.