Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Xcode Beta 1 and FoundationsModel access

I downloaded Xcode Beta 1 on my mac (did not upgrade the OS). The target OS level of iOS26 and the device simulator for iOS26 is downloaded and selected as the target.

When I try a simple Playground in Xcode ( #Playground ) I get a session error.

#Playground {
    
    let avail =  SystemLanguageModel.default.availability
    
    if avail != .available {
        print("SystemLanguageModel not available")
        return
    }
    let session = LanguageModelSession()
    do {
        
        let response = try await session.respond(to: "Create a recipe for apple pie")
    } catch {
        print(error)
    }   
}

The error I get is:

Asset com.apple.gm.safety_deny_input.foundation_models.framework.api not found in Model Catalog

Is there a way to test drive the FoundationModel code without upgrading to macos26?

Answered by DTS Engineer in 843299022

You need macOS 26 to run Apple Foundation Models in a simulator. Alternatively, you can use macOS 15.5 + Xcode 26 to run the models on a physical device + the version 26 system. The configurations that work are discussed in Foundation Model Framework. You can take a look to see if that helps.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

You need macOS 26 to run Apple Foundation Models in a simulator. Alternatively, you can use macOS 15.5 + Xcode 26 to run the models on a physical device + the version 26 system. The configurations that work are discussed in Foundation Model Framework. You can take a look to see if that helps.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Xcode Beta 1 and FoundationsModel access
 
 
Q