We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to solve application crashes due to privacy violation in iOS 10+ devices.?

Platform: Xamarin.Forms |
Control: SfChart

In iOS 10+ version, app may crash when you try to access any other applications (such as Photo albums) without permission. To solve this, you should manually add permission to the app in the info.plist file of the iOS project.

For example, if you want to set permission to Photo albums, add the following code in the info.plist file.


 

 

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment
Comments
Jaroslav Borovský
Jul 31, 2019

I have the same problem. I dont use OS calendar or photoLibrary in any way, yet I get this from AppStore. _ ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.

ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. _

Reply
Manivannan Elangovan [Syncfusion]
Jul 31, 2019

Hi Jaroslav Borosky,

The AppStore reported issue “ITMS-90683: Missing Purpose String in Info.plist“ may happen if you want to get calendar or photo library data from the user otherwise attempt to access the photo album to store pictures in your application. You have put the below code in info.plist file to fix this problem.

<dict>
.....

<key>NSPhotoLibraryUsageDescription</key>
<string>This App needs permission to access the Photos</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>This App needs permission to access the Photos</string>
<key>NSCalendarsUsageDescription</key>
<string>This App needs permission to access the Calendars</string>

.....
</dict>

Thanks, Manivannan E

Reply

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile