Post

Replies

Boosts

Views

Activity

Reply to WeatherKit error on iOS 17 - macOS 14
I also have had this issue since Beta 1. It fails on the simulator and on device. The code previously worked in iOS 16/macOS 13. I confirmed that I have the correct entitlements enabled. In the simulator, I get the error mentioned in the original post. Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)" On device, I get a different error Unable to decode object=, error=keyNotFound(CodingKeys(stringValue: "humidityMax", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "forecastDaily", intValue: nil), CodingKeys(stringValue: "days", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"humidityMax\", intValue: nil) (\"humidityMax\").", underlyingError: nil)) I filed feedback separately since I wasn't sure if this was the same problem. The simulator error is filed as FB12539864 and the on-device error is filed as FB12539932.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to Weatherkit doesn’t response
Just adding that I am also facing the same issues, on both native and rest endpoints. The issue has been happening intermittently since yesterday evening.
Replies
Boosts
Views
Activity
1w
Reply to WeatherKit error on iOS 17 - macOS 14
This appears to now work on Xcode 15/iOS 17 beta 5.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to WeatherKit error on iOS 17 - macOS 14
I also have had this issue since Beta 1. It fails on the simulator and on device. The code previously worked in iOS 16/macOS 13. I confirmed that I have the correct entitlements enabled. In the simulator, I get the error mentioned in the original post. Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)" On device, I get a different error Unable to decode object=, error=keyNotFound(CodingKeys(stringValue: "humidityMax", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "forecastDaily", intValue: nil), CodingKeys(stringValue: "days", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"humidityMax\", intValue: nil) (\"humidityMax\").", underlyingError: nil)) I filed feedback separately since I wasn't sure if this was the same problem. The simulator error is filed as FB12539864 and the on-device error is filed as FB12539932.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23