Skip to main content
Inspiring
mai 3, 2017 12:54 PM UTC
Question

AIR 25 Beta - Your app has 1 or more issues

I'm getting an error in iTunesConnect on submission.

Missing info.plist key

NSCalendarsUsageDescription

Not sure why?  I'm not using any calendar stuff.

Ce sujet a été fermé aux réponses.

8 commentaires

marchbold
Inspiring
mai 9, 2017 12:20 PM UTC

Using iOS 10 you now need to add some strings to display messages to the user when certain permissions are requested. That key suggests that your application is requesting access to the users' calendar so you should add a message that will get displayed to the user when this permission is requested.

This will get displayed in a dialog similar to the below (this is for photo library access):

To add this is simple, just add the following to your application descriptors iPhone node:

<iPhone>
   <InfoAdditions><![CDATA[
         <key>NSCalendarsUsageDescription</key>
         <string>Access to calendar is required.</string>
     ]]></InfoAdditions>
 </iPhone>
Traduire
air native extensions // https://airnativeextensions.com
Inspiring
mai 3, 2017 4:40 PM UTC

do you use any ANE ?

Traduire
Applauz78Auteur
Inspiring
mai 3, 2017 4:44 PM UTC

yes.. I'm using some of the Milkman Games ANE's

Traduire
Inspiring
mai 3, 2017 4:49 PM UTC

if any of those ANE use EventKit etc. it will trigger that rejection
for example: some AdMob SDK use EventKit

see

Resolving the Privacy-Sensitive Data App Rejection

Traduire