3 Replies Latest reply on Jul 24, 2017 10:39 AM by emrea

    Adding keys to Info.plist in phonegap ios

    naluz52240580

      Hi all,

       

      I am currently trying to submit my build for iOS using Xcode 10 and phonegap. After uploading my build, I receive an email reading this:

       

      Dear developer,

      We have discovered one or more issues with your recent delivery for "RoastBot". To process your delivery, the following issues must be corrected:

      Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.

      Once these issues have been corrected, you can then redeliver the corrected binary.

      Regards,

      The App Store team

       

      I can't find the Info.plist file in my project folder, and I have tried using the cordova-custom-config plugin. Here is my config.xml for ios:

      <platform name="ios">

              <allow-intent href="itms:*" />

              <allow-intent href="itms-apps:*" />

             

              <config-file parent="NSCalendarsUsageDescription" target="*-Info.plist">

                  <array>

                      <string>myapp</string>

                      <string>myapp2</string>

                      <string>myapp3</string>

                  </array>

              </config-file>

      </platform>

       

      Also, if this makes a difference, I am using the cordova-admob-simple plugin.

       

      Please let me know if any more information is necessary.

       

      Thanks in advance.