I have a combined iOS + WatchOS app that has worked fine on iOS 16 and WatchOS 9, but on iOS17 / WatchOS 10 I have location permission issues.
As you can tell from the previous sentence, all plist entries are set and asking for location updates when the app is in foreground worked fine on the watch on WatchOS 9, however since switching to Xcode 15 things have stopped working.
What happens now is:
I call locationManager.requestWhenInUseAuthorization()
on the watch, which doesn't do anything. I do not get the popup asking for location permissions and none of the delegate methods are called on locationManager
.
However as soon as I do the same call on my iOS app I get the popup on my phone and immediately the delegate is called in my watch app. So right now the only way of getting location permissions from the user is inside the iOS app, not the watch app.
Has anyone else encountered this? Is there a solution?