Hello Apple Developer Support Team,
I am the Account Holder of my Apple Developer Program team (Team ID: T2BKUF6E93). My iOS app is using Swift WeatherKit (WeatherService) on device.
Although my environment is completely configured, the system WeatherDaemon consistently fails to generate the WeatherKit JWT token.
My environment:
- Team type: Apple Developer Program (paid)
- Team ID: T2BKUF6E93
- Account role: Account Holder
- Xcode: latest version
- Device: iPhone (real device)
- Provisioning Profile: iOS Team Provisioning Profile (auto-managed)
- Entitlement:
com.apple.developer.weatherkitincluded - WeatherKit Key: created successfully (
.p8downloaded) - Bundle ID: correct and WeatherKit capability enabled
- App reinstalled after each configuration change
- Device rebooted
Even after enabling WeatherKit capability and generating a WeatherKit Key, the system still fails to generate JWT: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)"
The error persists across:
- multiple device restarts
- full clean/rebuild in Xcode
- deleting and reinstalling the app
- pulling the latest provisioning profiles
- waiting more than several hours for backend propagation
What I suspect
My WeatherKit entitlement and/or WeatherKit Key may not be fully propagated to the provisioning server or WeatherDaemon backend, even though everything appears correctly configured on the Developer Center.
I kindly request the support team to:
- Verify whether the WeatherKit Entitlement is correctly attached to my app ID and provisioning profile.
- Verify whether my WeatherKit Key is properly registered and propagated for my team.
- Check if there are any backend propagation delays or stuck states for my Team ID (T2BKUF6E93).
- Confirm whether WeatherDaemon has permission to generate JWT for my app.
Thank you
Please let me know if any logs, screenshots, or provisioning profile identifiers are needed. Thank you for your help!
Best regards,
Jiangyang