Error adding APP build on iTunes Connect

Asked

Viewed 463 times

2

I’m trying to upgrade my APP to the store I only changed contents of some Nsstrings, when I give Archive and send it to iTunes, it does not present any error, however when I add it, iTunes does not allow.

All I did was update my Xcode to the latest version (8.1).

inserir a descrição da imagem aqui


They sent me this message:

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 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


From what I understand, I should add something in Info.plist What could be?

1 answer

1


The app uses access features to the user’s image library and camera.

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 "Info.plist" the parameters that inform the user’s iOS about the use of the features.

In "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 messages however, be aware about locations (several languages).

For the user, an alert box will be displayed like this:

inserir a descrição da imagem aqui
illustrative image

Under "Info.plist", this is the default file name, but it may happen that your project is using a custom name. Anyway it is easy to find in Xcode. Just search for files that end with ". plist".

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

You will find something like this, is the XML format

inserir a descrição da imagem aqui

Through the Xcode interface, you will get something like this:

inserir a descrição da imagem aqui




*The images are illustrative

Browser other questions tagged

You are not signed in. Login or sign up in order to post.