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
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.
Related Topics
An App Id with Identifier '' Is Not Available. Please Enter a Different String
Testing Corelocation on iPhone Simulator
Custom Installed Font Not Displayed Correctly in Uilabel
Module Compiled with Swift 5.1 Cannot Be Imported by the Swift 5.1.2 Compiler
How to Create Managedobjectcontext Using Swift 3 in Xcode 8
How to Implement the Uitapgesturerecognizer into My Application
Objective C - Assign, Copy, Retain
App "Does Not Contain the Correct Beta Entitlement"
How to Run/Test My Flutter App on a Real Device
Prevent Segue in Prepareforsegue Method
How to Display .Svg Image Using Swift
Behaviour for Significant Change Location API When Terminated/Suspended
Change the Uitableviewcell Height According to Amount of Text
One Step Affine Transform for Rotation Around a Point
Combine Framework: How to Process Each Element of Array Asynchronously Before Proceeding
How to Create a Centered Uicollectionview Like in Spotify's Player