iOS 10 Gm Release Error When Submitting Apps "App Attempts to Access Privacy-Sensitive Data Without a Usage Description" Due to Googlesignin, Admob

iOS 10 GM release error when submitting apps app attempts to access privacy-sensitive data without a usage description due to GoogleSignIn, AdMob

Here's a link to a complete workaround from Google:
https://groups.google.com/d/msg/google-admob-ads-sdk/UmeVUDrcDaw/HIXR0kjUAgAJ

More info at that link, but TL;DR version is you have to add three items to your plist:

NSCalendarsUsageDescription
Advertisement would like to create a calendar event.
NSPhotoLibraryUsageDescription
Advertisement would like to store a photo.
NSBluetoothPeripheralUsageDescription
Advertisement would like to use bluetooth.

iOS 10 App has crashed because it attempted to access privacy-sensitive data

Privacy Settings in iOS 10

A significant change in iOS 10 is that you must declare ahead of time any access to private data or your App will crash.

Once you link with iOS 10 you must declare access to any user private data types. You do this by adding a usage key to your app’s Info.plist together with a purpose string. The list of frameworks that count as private data is a long one

Contacts, Calendar, Reminders, Photos, Bluetooth Sharing, Microphone, Camera, Location, Health, HomeKit, Media Library, Motion, CallKit, Speech Recognition, SiriKit, TV Provider.

You need to put the NSCameraUsageDescription in your plist.

Like

 NSCameraUsageDescription 
$(PRODUCT_NAME) uses Cameras

for e.g

Sample Image

Check all the usage descriptions here.

This app has crashed because it attempted to access privacy-sensitive data without a usage description, even with usage description

NSPhotoLibraryUsageDescription is not Camera Usage. It is Photo Library usage. You still have not done what the error message is telling you to do. Add a Photo Library usage key-value pair to your Info.plist.

iOS10 app has crashed because it attempted to access privacy-sensitive data

In your .plist add this key: Privacy - Microphone Usage Description and your desired value.

Sample Image



Related Topics



Leave a reply



Submit