Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UsageDescription in Xcode 8

I tried to upload the iOS-10-update of our App to iTunes Connect. I am using Xcode 8 GM.

Unfortunately, after uploading, iTunes Connect sends a mail containing this:

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.

We support englisch, german an spanish, so in the folder of the app, there is a de.lproj, en.lproj and es.lproj-folder, each containing a InfoPlist.strings which does contain the given key:

"NSPhotoLibraryUsageDescription" = "my description…";

Any ideas, what is going wrong and how to check this? InfoPlist.strings has target Membership in the correct build-target and even in build-target of our app-extension.

like image 243
Tobias Avatar asked Sep 08 '16 15:09

Tobias


People also ask

What is NSLocationAlwaysUsageDescription?

NSLocationAlwaysUsageDescription. A message that tells the user why the app is requesting access to the user's location at all times. iOS 8.0–10.0 Deprecated iPadOS 8.0–10.0 Deprecated.

What is NSUserTrackingUsageDescription?

A message that informs the user why an app is requesting permission to use data for tracking the user or the device.

How do I see app permissions on Iphone?

Review how apps are using the permissions you grant themGo to Settings > Privacy & Security, then tap App Privacy Report. The App Privacy Report shows you how apps are using the permissions you granted them and shows you their network activity.


2 Answers

You must still include the NSPhotoLibraryUsageDescription key in the actual plist. If you want, you could localize the entire plist file, rather than using InfoPlist.strings.

like image 92
Marcus Adams Avatar answered Oct 19 '22 23:10

Marcus Adams


I had the same problem with my apps, the solution shows you the itunnes connect via mail: review your info.plist and tries to add the following field:

  Privacy - Photo Library Usage Description

You can check here the permissions that now requires iOS 10 in its info.plist , here: https://blog.xamarin.com/new-ios-10-privacy-permission-settings/

This worked for me.

like image 25
Jonathan Nolasco Barrientos Avatar answered Oct 20 '22 00:10

Jonathan Nolasco Barrientos