weatherkit: failed to generate jwt token

Hey,

I'm trying to update my old app that used DarkSky to WeatherKit, and struggling. I always get:

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

This is regardless if I do it on my iPad, or in the simulator. I have done the following:

  • Selected WeatherKit on the Capabilities and App Services tabs of the Identifier section on developer.
  • Put it under signing and capabilities in XCode

I've tried making a new provisioning profile, cleaning build folder, etc. Not sure what to do here. I suspect part of this problem is that I developed this app in 2018 and now I'm trying to update it.

I am able to run the app on TestFlight, but not as an internal tester. Apple won't let me, so I have to add myself as an external tester.

Thanks for any help you can provide!

weatherkit: failed to generate jwt token
 
 
Q