8 Replies Latest reply on Dec 14, 2017 6:51 AM by RebrandSoftware

    edit-config is ignored by PGB cli-7.0.1 - test project included


      My binaries are being rejected because NSCameraUsageDescription and other items are not included in my build despite adding them in my config file, giving a "Missing Info.plist key" error.


      To ensure that it's not something in my config like a plugin overwriting the plist entry I created a very simple test app.  All it does is attempt to add one Info.plist entry.  It uses the following:


      <preference name="phonegap-version" value="cli-7.0.1" />


      <platform name="ios">

           <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">

                <string>Allows users to save photos to their camera roll</string>




      Her is the GitHub: GitHub - rebrandsoftware/PGB-Info.plist-test: Test if PhoneGap Build is properly adding data to info.plist through edit-…

      And the PGB app id: 2926608


      My process for determining that the plist keys are not there:


      • I build the app and download the .ipa
      • I rename the .ipa to .zip
      • I extract the contents
      • I select the app and choose "Show Package Contents"
      • I open the Info.plist file in Xcode and check for the NSCameraUsageDescription (see screenshot of Info.plist below)


      Would you mind taking a look at that app to see why it isn't editing the Info.plist?


      Thank you!




      Screen Shot 2017-12-12 at 10.01.41 PM.png