Post

Replies

Boosts

Views

Activity

Reply to WeatherKit JWT fails (WDSJWTAuthenticatorServiceListener Code 2) despite entitlement
I may be seeing a similar issue. A few customer devices are getting this error on every WeatherKit request. I can't replicate it on my own devices, but I'm telling customers they should just request refunds because they can't get the service they are paying for. This is my post on the topic. https://developer.apple.com/forums/thread/789319 Did you ever find a solution for your dev device?
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to WeatherKit JWT Auth error for SOME customer devices
I've heard from two affected customers that the problem has gone away. I'll be reaching out to other affected customers but I'm cautiously hopeful. I've been working furiously to set up a API proxy server to route calls from the app (thereby using the REST API on my server, and potentially getting rid of WeatherKit entirely). I still think I want to finish that work so I can have some insurance in case I need to suddenly switch weather providers. With a proxy server I can do that without a binary update on the App Store. The WeatherKit SDK is very convenient in how it doesn't require a proxy server to secure the API key, but this failure from the last couple of days has me spooked (especially given no acknowledgment from Apple that there was even a problem, and nothing ever showed up on their status board as far as I saw).
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to Problem running NLContextualEmbeddingModel in simulator
Seeing the same. Simulator will not run .load. FB22699606 filed. private func failingFunction() async throws { guard let embedding = NLContextualEmbedding(language: .english) else { return } print("hasAvailableAssets:", embedding.hasAvailableAssets) let result = try await embedding.requestAssets() print("requestAssets result:", result) try embedding.load() // <- throws here let r = try embedding.embeddingResult(for: "hello world", language: nil) print("length \(r.sequenceLength)") } Generates a 30s delay, then errors. hasAvailableAssets: false Type: stdio Failed to send CA Event for app launch measurements for ca_event_type: 0 event_name: com.apple.app_launch_measurement.FirstFramePresentationMetric Type: Error | Timestamp: 2026-05-04 19:39:07.618665-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: libapp_launch_measurement.dylib | Subsystem: com.apple.app_launch_measurement | Category: General | TID: 0x225e218 Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics Type: Error | Timestamp: 2026-05-04 19:39:07.727782-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: libapp_launch_measurement.dylib | Subsystem: com.apple.app_launch_measurement | Category: General | TID: 0x225e21f objc[78708]: Class UIAccessibilityLoaderWebShared is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_23E244/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/WebKit.axbundle/WebKit (0x109388398) and /Library/Developer/CoreSimulator/Volumes/iOS_23E244/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/WebCore.axbundle/WebCore (0x117358310). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Type: stdio filesystem error: in create_directories: Permission denied ["/var/db/com.apple.naturallanguaged/com.apple.e5rt.e5bundlecache"] Type: Error | Timestamp: 2026-05-04 19:39:37.695673-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NaturalLanguage | Subsystem: com.apple.NaturalLanguageFramework | Category: default | TID: 0x225e219 Compilation of '5C45D94E-BAB4-4927-94B6-8B5745C46289' model failed:Error Domain=NLNaturalLanguageErrorDomain Code=7 "Aborting repeated compilation request" UserInfo={NSLocalizedDescription=Aborting repeated compilation request} Caller bundle id: 'com.disparateelements.NLContextualEmbeddingLoadFailure' Type: Error | Timestamp: 2026-05-04 19:39:37.928174-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NaturalLanguage | Subsystem: com.apple.NaturalLanguageFramework | Category: default | TID: 0x225e219 Failed with error Aborting repeated compilation request Type: Error | Timestamp: 2026-05-04 19:39:37.928618-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NLContextualEmbeddingLoadFailure.debug.dylib | Subsystem: test | Category: NLContextualEmbeddingLoadFailure | TID: 0x225e091
Topic: Machine Learning & AI SubTopic: General Tags:
1d
Reply to WeatherKit JWT fails (WDSJWTAuthenticatorServiceListener Code 2) despite entitlement
I may be seeing a similar issue. A few customer devices are getting this error on every WeatherKit request. I can't replicate it on my own devices, but I'm telling customers they should just request refunds because they can't get the service they are paying for. This is my post on the topic. https://developer.apple.com/forums/thread/789319 Did you ever find a solution for your dev device?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to WeatherKit JWT Auth error for SOME customer devices
I've heard from two affected customers that the problem has gone away. I'll be reaching out to other affected customers but I'm cautiously hopeful. I've been working furiously to set up a API proxy server to route calls from the app (thereby using the REST API on my server, and potentially getting rid of WeatherKit entirely). I still think I want to finish that work so I can have some insurance in case I need to suddenly switch weather providers. With a proxy server I can do that without a binary update on the App Store. The WeatherKit SDK is very convenient in how it doesn't require a proxy server to secure the API key, but this failure from the last couple of days has me spooked (especially given no acknowledgment from Apple that there was even a problem, and nothing ever showed up on their status board as far as I saw).
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Problem running NLContextualEmbeddingModel in simulator
Seeing the same. Simulator will not run .load. FB22699606 filed. private func failingFunction() async throws { guard let embedding = NLContextualEmbedding(language: .english) else { return } print("hasAvailableAssets:", embedding.hasAvailableAssets) let result = try await embedding.requestAssets() print("requestAssets result:", result) try embedding.load() // <- throws here let r = try embedding.embeddingResult(for: "hello world", language: nil) print("length \(r.sequenceLength)") } Generates a 30s delay, then errors. hasAvailableAssets: false Type: stdio Failed to send CA Event for app launch measurements for ca_event_type: 0 event_name: com.apple.app_launch_measurement.FirstFramePresentationMetric Type: Error | Timestamp: 2026-05-04 19:39:07.618665-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: libapp_launch_measurement.dylib | Subsystem: com.apple.app_launch_measurement | Category: General | TID: 0x225e218 Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics Type: Error | Timestamp: 2026-05-04 19:39:07.727782-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: libapp_launch_measurement.dylib | Subsystem: com.apple.app_launch_measurement | Category: General | TID: 0x225e21f objc[78708]: Class UIAccessibilityLoaderWebShared is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_23E244/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/WebKit.axbundle/WebKit (0x109388398) and /Library/Developer/CoreSimulator/Volumes/iOS_23E244/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/WebCore.axbundle/WebCore (0x117358310). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Type: stdio filesystem error: in create_directories: Permission denied ["/var/db/com.apple.naturallanguaged/com.apple.e5rt.e5bundlecache"] Type: Error | Timestamp: 2026-05-04 19:39:37.695673-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NaturalLanguage | Subsystem: com.apple.NaturalLanguageFramework | Category: default | TID: 0x225e219 Compilation of '5C45D94E-BAB4-4927-94B6-8B5745C46289' model failed:Error Domain=NLNaturalLanguageErrorDomain Code=7 "Aborting repeated compilation request" UserInfo={NSLocalizedDescription=Aborting repeated compilation request} Caller bundle id: 'com.disparateelements.NLContextualEmbeddingLoadFailure' Type: Error | Timestamp: 2026-05-04 19:39:37.928174-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NaturalLanguage | Subsystem: com.apple.NaturalLanguageFramework | Category: default | TID: 0x225e219 Failed with error Aborting repeated compilation request Type: Error | Timestamp: 2026-05-04 19:39:37.928618-04:00 | Process: NLContextualEmbeddingLoadFailure | Library: NLContextualEmbeddingLoadFailure.debug.dylib | Subsystem: test | Category: NLContextualEmbeddingLoadFailure | TID: 0x225e091
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
1d