Hello. I am developing a watchOS standalone app.
I have added NSLocationWhenInUseUsageDescription key to info.plist Extension file successfully.
When I try adding the same key to info.plist App, Xcode rejects my build with error ITMS-90363.
So, I submit my build with a key added to info.plist Extension and receive the following warning via email:
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 NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. 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. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs.
How can I fix the warning if Xcode does not let me add the key to info.plist App?
Xcode version 11.5
Thanks.
Post
Replies
Boosts
Views
Activity
Hello. I am developing a standalone watchOS app that is making phone calls.
I am using the following code to open Calling interface in my watchOS app and make a phone call:
func phoneCall() -> Void {
let tel = "+1(500)123-4567"
if let telURL = URL(string: "tel:\(tel)") {
WKExtension.shared().openSystemURL(telURL)
}
}
I tried passing phone numbers in the following formats:
+1(500)123-4567
15001234567
5001234567
500-123-4567
(500)123-4567
1-500-123-4567
On the previous watchOS version it worked as intended. The app opened one Confirmation screen and then made a call. Since I upgraded my Watch to 6.2.6, I started getting 2 Confirm screens.
Please advise.