Hello,
I need help because I have not succeeded to fix the following issues:
- ITMS-90738: Invalid purpose string value - The “NSLocationAlwaysAndWhenInUseUsageDescription” value for the NSLocationAlwaysAndWhenInUseUsageDescription key isn’t allowed in “SuperNewsV2UIKit.app”. 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 “SuperNewsV2UIKit.app” bundle should contain a NSLocationAlwaysAndWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.
- 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 “SuperNewsV2UIKit.app” bundle should contain a NSLocationWhenInUseUsageDescription 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. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.
There is actually what I have done and I don't understand yet why the issue is not fixed after uploading on App Store Connect:
Main info.plist:
Info.plist (disabled)
Localizables, I use the new String Catalog:
Note: NSLocationWhenInUseUsageDescription
is needed on localizables, even after replacing with NSLocationAlwaysAndWhenInUseUsageDescription
, my location feature on map won't work, even for asking user permission.
Can you help me please to fix this issue ? Documentation has not helped me to fix the issue after applying the recommendations.
Thanks in advance.