Xcode 14 Beta 3 is constantly getting an error with WeatherKit

In the simulator with Xcode 14 beta 3, any request to WeatherKit results in the following error:

[WeatherService] Encountered an error when fetching weather data subset; location=<+41.16107900,-104.80545000> +/- 5.00m (speed -1.00 mps / course -1.00) @ 7/6/22, 3:16:51 PM Mountain Daylight Time,  error=Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=0 "(null)"

I haven't had a single request succeed. Has anyone else encounter this?

Ugh, the Xcode RC build didn't fix this for me :( I'm still getting WDSJWTAuthenticatorServiceListener errors. It works on iOS devices and in a macOS app, it just doesn't work in the simulator.

This is also happening for me. I noticed that in the Console, the following error appeared from com.apple.weatherkit.authservice:

Failed to retrieve application-identifier from SecTask. This typically indicates that the process is missing the application-identifier entitlement. It must match the process' bundle identifier. This is a client-issue. Check the crash report for the Coalition process. PID: 34670

I've double-checked that my provisioning profile does include the application-identifier entitlement (which is the only place this particular entitlement appears, as far as I can tell).

Interestingly if I download the FlightPlanner sample app from the developer documentation, I get an entirely different error:

2022-09-13 19:06:54.349898-0400 FlightPlanner[34598:380317] [WeatherService] Encountered an error when fetching weather data subset; location=<+42.56030000,+18.26220000> +/- 0.00m (speed -1.00 mps / course -1.00) @ 9/13/22, 7:06:54 PM Eastern Daylight Time,  error=Error Domain=AMSErrorDomain Code=12 "Mescal Failed" UserInfo={NSLocalizedDescription=Mescal Failed, NSLocalizedFailureReason=SAPInit failed: -42049}

I made sure to carefully follow the directions listed in the developer documentation, and waited well more than 30 minutes between creating the App ID and running the app.

The Console has a bunch of different messages & errors:

Retrieved application-identifier from SecTask: applicationID=***...XXXXXX.FlightPlanner
Processed teamID from application-identifier: teamIDIsValid=YES bundleID=XXXXXX.FlightPlanner
AMSMescalFairPlay: [AA41C52C] Init failed: { Error domain=AMSErrorDomain, code=12
Error while creating local signature. requestIdentifier=3E73E504-550D-44F5-8940-BD272B02B10E, error=Error Domain=AMSErrorDomain Code=12 "Mescal Failed" UserInfo={NSLocalizedDescription=Mescal Failed, NSLocalizedFailureReason=SAPInit failed: -42049}

I'm seeing similar issue, now with Xcode 15 beta.4. Has anyone else found a way to make WeatherKit work with 15.4?

Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)"

Xcode 14 Beta 3 is constantly getting an error with WeatherKit
 
 
Q