1

I want to upload my app to iTunes connect but after uploading I always get an error message by mail from iTunes, that after their scan some description variables are missing.

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 NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

I am using both features, so that's ok, BUT: i already added those variables to my localized infoPlist.strings. And these seems to work, because in the Simulator and my iPhone, both strings are displayed correctly in the system dialogs. I didn't add the strings to the plist.info file, because I specified them in the localized file, which should be ok. The plist.info and also the localized file are both packaged in the app, I already head a look using Finder.

Is there anything else I must add? Do I still need to add them to the plist.info file, although they are in the localized file?

Additional info: I am using the latest XCode 8 GM build on macOS Safari.

Avi
  • 7,469
  • 2
  • 21
  • 22
Nuker
  • 2,577
  • 5
  • 21
  • 32
  • please check this link and try : http://stackoverflow.com/questions/15881534/how-to-localize-nsphotolibraryusagedescription-key-alassets – Bhadresh Kathiriya Sep 13 '16 at 06:52
  • [refer this so post if it helps](http://stackoverflow.com/questions/39428916/uiimagepickercontroller-in-swift-3/39429884#39429884) – Ketan Parmar Sep 13 '16 at 07:16
  • Thanks for the link. I will add those keys to the plist.info and will give feedback if this helps. And if the localization still works with the localized keys and the keys in the plist.info – Nuker Sep 13 '16 at 07:35

2 Answers2

1

Are you using AdMob? If so the answer is that Google confirmed that it is an issue with the AdMob SDK. You can read about it here.

Tarvo Mäesepp
  • 4,477
  • 3
  • 44
  • 92
1

The solution is, to add the keys also to the PList.info file, not only to the localized infoPlist.strings file. This is a bit inconsequent because within the simulator and on my phone every message is displayed correctly. But now my app was accepted.

Nuker
  • 2,577
  • 5
  • 21
  • 32