Error Appstore Connect:Missing Purpose String in Info.Plist File

Error Appstore connect : Missing Purpose String in Info.plist File

If you're using Expo, you can add solve by adding infoPlist to app.json like so:

  "expo": {
"ios": {
"bundleIdentifier": "com.app.myapp",
"infoPlist": {
"NSLocationAlwaysUsageDescription": "Some message to appease Apple.",
},
},
}

Expo Docs

ITMS-90683: Missing Purpose String in Info.plist

Right click on your Info.plist file. then click on 'Open As' -> 'Source Code'.

Now find and replace below keys,

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>your description.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>your description</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>your description.</string>

Property list view of your info.plist is not showing like

Privacy - Location always and when In Use Usage Description

Privacy - Location always Usage Description

Instead it is showing NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationAlwaysUsageDescription

Error App Store Connect: 'ITMS-90683: Missing Purpose String in Info.plist' & 'ITMS-90078: Missing Push Notification Entitlement' [Flutter]

How can I fix the ITMS-90683 error when I am not using any of these permissions explicitly in our app such that the build version can be uploaded for review successfully?

This part of app review doesn't care if you're actually using these features. All they check is whether the app has code to do so (which yours obviously does) and comes with the required purpose strings. To solve this, you basically have two options:

  • figure out which pieces of code/library/whatever you have in your app that brings this baggage along, and get rid of it, or
  • live with the baggage and provide the required purpose strings.

Since, the Apple Push Services' certificate is already added to Apple Developer portal how can I fix the ITMS-90078 and submit the app for review?

The problem is not with the certificate, but with the app's entitlement, which you're not showing. Make you you have the push notification entitlement enabled in your app.

App store Missing Purpose String in Info.plist error

You need to give proper message for asking location permission. why you need location or why its required.

Here its example. you can enter this message in your info.plist and change as per your requirements.

Example Message - App would like to use your current location to display it on the app, also for directions and estimation of your travel times. It is secure and private.

For last one message regarding your UIWebView, it's says that UIWebView is deprecated and you have to stop using and used WKWebView. If you have not used in your application then check in third-party libraries or .pod files. Somewhere its used so apple has given message.

Missing Purpose String in Info.plist for Photo access

You added NSPhotoLibraryAddUsageDescription key to your plist file. At least that's what your screen shot says. NSPhotoLibraryAddUsageDescription is the write-only access to the Photos app. On the other hand, if you would like to request the read or write access to the Photos app, use this key: NSPhotoLibraryUsageDescription

Here's a screenshot of both keys in Info.plist when viewed as a property list file on Xcode:

Sample Image
The first one is the NSPhotoLibraryAddUsageDescription and the second one is the NSPhotoLibraryUsageDescription key.

So, if you have any code (or a library) that is trying to read from the photo library, then you are required to add the NSPhotoLibraryUsageDescription key.



Related Topics



Leave a reply



Submit