Stefan Stefan - 2 days ago 4
iOS Question

iTunes Connect upload rejected with invalid binary because of missing NSCalendarsUsageDescription

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?

Answer

I've sent an email to Google complaining about this and hopefully it will get resolved in future versions of the AdMob SDK. Until then you can workaround by adding NSCalendarsUsageDescription to your info.plist. I also had to do the same with NSBluetoothPeripheralUsageDescription.

Edit: Very important to also add the NSPhotoLibraryUsageDescription one as well see: https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/ios/UmeVUDrcDaw

Update Sep 18, 2016: Google has released version 7.11.0 which removes the need to have nay of these.

Comments