I have added privacy settings in info.plist still it crashes. I don't why.
It says:
This app has crashed because it attempted to access privacy-sensitive
data without a usage description. The app's Info.plist must contain
an NSMicrophoneUsageDescription key with a string value explaining to
the user how the app uses this data.
Please note that I have already tried re-installing app. I am using iOS 10 Device no simulator.
You can try to reset the simulator and run again. It will work.
Delete NSMicrophoneUsageDescription from plist then run your application in device. Then delete the application from device. then add NSMicrophoneUsageDescription in plist and give description to it(don't keep it empty, write some description!) and install again in device!
Related
im using a screen capture code with UIGraphicsGetImageFromCurrentImageContext() and then UIActivityViewController to allow users to select what to do with the screenshot image
its all works but when i click on save image i get console error:
This app has crashed because it attempted to access privacy-sensitive data without a usage description. > The app's Info.plist must contain an NSPhotoLibraryAddUsageDescription key with a string value explaining to the user how the app uses this data.
I checked the plist.info and it already has NSPhotoLibraryAddUsageDescription listed in there
So why is it not recognising it and still giving this error?
I tried deleting derived data and cleaned build folder.
Check plist again if the key is NSPhotoLibraryAddUsageDescription, not NSPhotoLibraryUsageDescription.
Apple document for adding this key to plist and requesting permission :
https://developer.apple.com/documentation/bundleresources/information_property_list/protected_resources/requesting_authorization_to_access_photos
I'm getting this error in Xcode despite the fact that I have added a description string for NSContactsUsageDescription in info.plist. It's happening in the simulator and on iPad & iPhone.
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.
I have tried cleaning, rebuilding, deleting the app from the device, restarting Xcode. Deleting from info.plist and adding again. I've also checked the source code for info.plist to see that the key has been added correctly.
I keep getting this error!
My app crashed when I try to open video camera. It is fine when it opens the camera, but when I switch from image to video I get this error:
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
I find this weird because I have added the permission in my plist file.
<key>NSCameraUsageDescription</key>
<string>Camera is used to make pictures when creating a job</string>
In your .plist add this key: Privacy - Microphone Usage Description and your desired value.
I finally got to deploy my app for iPhone, and now that I uploaded to iTunes Connect I'm getting this message from Apple:
We have discovered one or more issues with your recent delivery for
"App name". To process your delivery, the following issues must be
corrected:
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.
So either I need to add the NSCalendarsUsageDescription key, but I don't know why LibGDX is attempting to access user's calendar, or somehow I should remove the code that access this resources that I'm not using.
Anybody has solved this? I'm using RoboVM to deploy for iOS.
Just add the key in your info.plist . If LibGDX tries to access the calender an alert view will pop up with the text you entered for that key. So after adding the key just go through the whole app once and check if you get a alert anywhere. If not then you can keep any value for the key. If you do see the alert try to identify why its trying to access the calender and update the key value accordingly.
My app only require iCloud UIDocument service. However, it sent me a warning email below and a invalid binary warning notification after uploading to iTunesConnect from Xcode 8.
It is non-sense to ask me to add NSCalendarsUsageDescription and NSBluetoothPeripheralUsageDescription description on Info.plist
May I miss some setting after upgrade Xcode from 7 to 8 ??
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.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
You need to put values for the two keys mentioned in your Info.plist file:
NSCalendarsUsageDescription
NSBluetoothPeripheralUsageDescription
e.g. "MyAPP needs access to your calendar for events"
If you do not need/use these capabilities, then there is something in your binary that's triggering Apple's static analyzer.
Check 3rd party libs in your project because some of them have been causing similar issues to this (in your case it may well be AdMob) - some have updated their SDKs to fix it, so make sure you're on the latest version of 3rd party SDKs.
Check the Capabilities section of your App's target configuration - is there anything in there that is unnecessary - particularly in the "Background Modes" section.
I had the same problem, review your info.plist and tries to add the following fields
Privacy - Photo Library Usage Description
or
Bluetooth Sharing - NSBluetoothPeripheralUsageDescription
You can check here the permissions that now requires iOS 10 in its info.plist here: https://blog.xamarin.com/new-ios-10-privacy-permission-settings/
This worked for me.