WeatherKit JWT auth fails (Error 2) despite verified entitlements in both app and extension

I'm getting a persistent WeatherKit authentication failure that survives every standard troubleshooting step. Hoping someone from the WeatherKit team can check the backend sync for my Team ID.

Team ID: 9CQUMUHB42 Bundle ID: com.martin.MinimalWidgets (app) Bundle ID: com.martin.MinimalWidgets.MinimalWidgetsWidget (widget extension)

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

What I've verified:

  • WeatherKit capability is enabled in Xcode for BOTH the app and widget extension targets
  • WeatherKit is enabled in the App ID configuration for both identifiers in the Developer Portal
  • Confirmed with codesign -d --entitlements :- that com.apple.developer. weatherkit is correctly present and set to true in the signed binaries for both the app and the extension
  • WeatherKit Usage dashboard shows 500,000 calls/month quota, 0 used
  • Cleared the provisioning profile cache at ~/Library/Developer/Xcode/UserData/Provisioning Profiles, ran Download Manual Profiles again
  • Clean Build Folder, deleted the app from device, reinstalled
  • Restarted the test device
  • Waited over 24 hours since first enabling the capability

None of the above resolved it — the exact same error persists on every attempt, including today. This looks like a backend entitlement sync issue between the Developer Portal and the WeatherKit auth service rather than a local configuration problem, since the signed entitlements are confirmed correct on my end.

Could someone from the WeatherKit team check the sync status for this Team ID / Bundle ID and confirm whether WeatherKit token generation is enabled server-side? Happy to provide any additional diagnostic info (sysdiagnose, device logs, etc.) if needed.

Thanks in advance!

The most common cause is that the WeatherKit service is not enabled — that’s a step in addition to the capability in the Xcode project. Please see the documentation, Step 4 specifically.

WeatherKit JWT auth fails (Error 2) despite verified entitlements in both app and extension
 
 
Q