Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes Connect upload rejected with invalid binary because of missing NSCalendarsUsageDescription

Tags:

ios

ios10

I'm trying to upload an update for an existing App with XCode 8. After the upload I have received this email:

"This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data."

I know about the new privacy policy for iOS 10 and also how to add the needed description. My problem is: I'm not using the Calendar in my app.

Is there a way to find out why Apple thinks I use the Calendar? Maybe it's used by the AdMobSDK from Google?

like image 645
Stefan Avatar asked Sep 11 '16 19:09

Stefan


1 Answers

If you use the EventKit framework, this can trigger the automated rejection you received from Apple. One solution is to remove that framework.

Many Advertising SDKs, such as Tapjoy (before version 11.8.1) and AdMob, have EventKit as a required framework.

If you have EventKit framework in your application because it is necessary for your advertising SDK, I have seen this rejection avoided with the following modification to the .plist file:

<key>NSCalendarsUsageDescription</key>
<string>Some ad content may access calendar</string>
like image 118
Zachary Drake Avatar answered Oct 12 '22 03:10

Zachary Drake