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


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.



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.