Hi everyone,
I successfully delivered my iOS app to App Store Connect, but I received the following warning:
ITMS-90683: Missing purpose string in Info.plist
Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “Test Mobile.app” bundle should contain an NSLocationAlwaysAndWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required.How can I add NSLocationAlwaysAndWhenInUseUsageDescription in my OutSystems mobile app’s Info.plist?
Any insights or solutions from the community would be greatly appreciated!
Thanks in advance! 😊
Hello,
You can add this to your Front-end app:
{ "preferences":{ "ios":[ { "name":"NSLocationAlwaysAndWhenInUseUsageDescription", "value": "YOUR LOCATION DESCRIPTION HERE" } ] }}
Hi @Shradha nair,
The above solution from @Fábio Vaz will solve your error. Apply the changes in your extensibility configuration and regenerate app.
Note: If there is any mistake or incorrect syntax in extensibility configuration the build generation will fail.
Thanks.