Error adding APP compilation to iTunes Connect

2

I'm trying to upload an update from my APP to the store I just changed the contents of some NSStrings, when I archive and send it to iTunes, it does not show any errors, but when I add it, iTunes does not allow it.

The only thing I did was upgrade my xCode to the latest version (8.1).

Theysentmethismessage:

Deardeveloper,

Wehavediscoveredoneormoreissueswithyourrecentdeliveryfor"APP Name". To process your delivery, the following issues must be corrected:

This app attempts to access privacy-sensitive data without a use description. The app's Info.plist should 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 use description. The app's Info.plist should contain an NSCameraUsageDescription 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

As I understand it, I should add something in Info.plist What could it be?

    
asked by anonymous 07.11.2016 / 20:25

1 answer

1

The app uses image library and user library access features.

  

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.

Both messages are clear about this and ask to add in the "Info.plist" the parameters that inform the user iOS about the use of the resources.

In the "Info.plist", add

<key>NSPhotoLibraryUsageDescription</key>
<string>Photo Library Access Warning</string>

<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera.</string>

You can customize the messages however, be aware of locations (multiple languages).

For the user, an alert box will appear like this:


illustrativeimage

Onthe"Info.plist", this is the default file name, but your project may be using a custom name. Anyway it's easy to find in XCode. Just look for files that end with .plist.

To edit, you can use a text editor and edit directly without XCode.

You'll find something like this, it's the XML format

FromtheXCodeinterface,itwilllooksomethinglikethis:



* Images are illustrative

    
08.11.2016 / 18:54