Foundation Models Error: Local Sanitizer Asset

Hi, I just upgraded to macOS Tahoe Beta 2 and now I'm getting this error when I try to initialize my Foundation Models' session:

Error Resource (Local Sanitizer Asset) unavailable error.

import FoundationModels

#Playground {
    let session = LanguageModelSession()
    do {
        let result = try await session.respond(to: "Tell me 3 colors")
        print(result.content)
    } catch {
        print("Error", error)
    }
}

I couldn't find any resource guiding me on how to solve this. Any help/workaround?

Thank you!

Answered by pitt500 in 845582022

Ok, I just upgraded to Xcode 26 beta 2 (from Beta 1) and the issue is gone.

Accepted Answer

Ok, I just upgraded to Xcode 26 beta 2 (from Beta 1) and the issue is gone.

Foundation Models Error: Local Sanitizer Asset
 
 
Q