This continues to fail for me on Xcode 15 beta 4 on the iOS 17 simulator.
Same authentication error to the WeatherService.
Post
Replies
Boosts
Views
Activity
This issue still exists for me in Xcode 15 Beta 3.
I am very surprised that this hasn't been addressed yet, or even mentioned in the Release Notes. Based on the discussion in this thread, no apps using WeatherKit can be built or run on iOS 17 yet.
Has anyone been successful in getting WeatherKit to work on iOS 17?
This is still a problem for me on Xcode 15 beta 2.
I inspected the built .app using codesign:
codesign --display --entitlements :- YourApp.app
And it is in fact missing the com.apple.developer.weatherkit entitlement, despite the fact that it is included in the project's Entitlements file.
I'm also seeing the same issue with WeatherKit on iOS 17 / Xcode 15 beta 1. I noticed that others are experiencing more general issues with entitlements apparently not working in Xcode 15 B1, even when configured correctly:
https://developer.apple.com/forums/thread/731010
https://developer.apple.com/forums/thread/731116
I'm wondering if the WeatherKit issue we are seeing is a specific instance of this issue -- in this case, the com.apple.developer.weatherkit entitlement not getting picked up correctly. I could imagine this potentially causing auth issues on the backend. Speculation at this point, but it seems to fit.