Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23925

iOS: App rejected because some <key> in the Info.plist aren't specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.5.0
    • Fix Version/s: Release 6.0.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Appcelerator Studio, build: 4.3.3.201510212245
      Xcode 8 , iOS 10
      Titanium SDK 5.5.0.GA

    • Story Points:
      13
    • Sprint:
      2016 Sprint 20 SDK

      Description

      From SDK 5.5.0.G.A Titanium require some new keys in the Info.plist file https://www.appcelerator.com/blog/2016/09/ga-release-for-titanium-sdk-5-5-0-appcelerator-cli-5-5-0-appcelerator-studio-4-7-1/

      <ios>
          <plist>
              <dict>
                  <key>NSContactsUsageDescription</key>
                  <string>Can we use to your contacts?</string>
                  <key>NSCameraUsageDescription</key>
                  <string>Can we use your camera?</string>
                  <key>NSCalendarsUsageDescription</key>
                  <string>Can we use your calendar?</string>
                  <key>NSPhotoLibraryUsageDescription</key>
                  <string>Can we save to your library?</string>
                  <key>NSMicrophoneUsageDescription</key>
                  <string>Can we use your microphone?</string>
              </dict>
          </plist>
      </ios>
      

      This is the (first) email that i received from iTunes Connect after the upload of an update of my app with SDK 5.5.0.G.A.
      I haven't included any of the previous keys because the app not use any of that functionality.

      Dear developer,
       
      We have discovered one or more issues with your recent delivery for "App Name". To process your delivery, the following issues must be corrected:
       
      This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
       
      This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
       
      This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription 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
      

      Ok , after the first email i have update the Info.plist file adding the NSPhotoLibraryUsageDescription and the NSMicrophoneUsageDescription keys (i don't use any of this functionality). After the second upload , this is the email (second) that i received from iTunes Connect.

      Dear developer,
       
      We have discovered one or more issues with your recent delivery for "App Name". To process your delivery, the following issues must be corrected:
       
      This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription 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
      

      Ok , after the second email i have update the Info.plist file adding the NSAppleMusicUsageDescription key (i don't use this functionality). After the third upload all is ok.

      So :

      • Some keys seem to be required (NSMicrophoneUsageDescription and NSPhotoLibraryUsageDescription), even if the feature is not used
      • Add in the docs (and in the article) this keys NSAppleMusicUsageDescription

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                nicolomonili nicolomonili
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10116
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code