I'm experiencing the same issue too, it seemed to be introduced in one of the recent beta releases as I'm pretty sure I tested the same scenario when the first iOS 17/watchOS 10 Beta was released and it worked as expected.
My app has a companion watchOS app which requests location permission.
Replication Steps
- Install iOS and companion watchOS apps.
- After prompt, grant location permission on watchOS app (Location permissions work as expected at this point).
- Reinstall iOS and companion watchOS apps.
Expected
The watchOS app requests location permission and the user is promoted to grant the permission.
Actual
The watchOS app requests location permission but the user is not prompted to grant the permission and therefore locations data cannot be retrieved.
Workaround
If you reset Location & Privacy
settings the user is prompted for permission the next time the watchOS app requests location permission.
Go to Settings > General > Transfer or Reset iPhone, tap Reset, then tap Reset Location & Privacy.
Technical Notes
After reinstalling the apps and starting the watchOS app the CLLocationManagerDelegate doesn't receive the initial call to locationManagerDidChangeAuthorization(_ manager: CLLocationManager)
with the current authorization status. In addition, getting authorizationStatus
from the CLLocationManager instance returns .notDetermined
and calling requestWhenInUseAuthorization()
does not prompt the user for permission.