Skip to main content
Inspiring
May 3, 2017
Question

AIR 25 Beta - Your app has 1 or more issues

  • May 3, 2017
  • 2 replies
  • 1054 views

I'm getting an error in iTunesConnect on submission.

Missing info.plist key

NSCalendarsUsageDescription

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

This topic has been closed for replies.

2 replies

marchbold
Inspiring
May 9, 2017

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>
air native extensions // https://airnativeextensions.com
Inspiring
May 3, 2017

do you use any ANE ?

Applauz78Author
Inspiring
May 3, 2017

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

Inspiring
May 3, 2017

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