2

Trying to deploy my first app to the App Store but got some errors.

My app was rejected from the App Store due to the following:

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

Missing Info.plist key - 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.

Missing Info.plist key - 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.

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

My info.plist file

Could someone give me more info? How to add these keys?

Pretty new to Swift and Xcode, so this may be a super simple fix!

Thanks for the help!

Community
  • 1
  • 1
  • Possible duplicate of [App rejected due to missing usage descriptions (Xcode8)](https://stackoverflow.com/questions/39415895/app-rejected-due-to-missing-usage-descriptions-xcode8) – Tamás Sengel Jul 24 '17 at 20:52

1 Answers1

2

There are specific keys you need to add in order to use access certain features. You have to add a description to explain to the user why you need to access these features. The ones you need to add (as per your question), are below. Once you include the keys, you enter the description as the value.

  • Privacy - Contacts Usage Description
  • Privacy - Photo Library Usage Description
  • Privacy - Microphone Usage Description
  • Privacy - Camera Usage Description

    info.plist screenshot

darrenallen7
  • 821
  • 4
  • 9