I'm attempting to run a basic Foundation Model prototype in Xcode 26, but I'm getting the error below, using the iPhone 16 simulator with iOS 26. Should these models be working yet? Do I need to be running macOS 26 for these to work? (I hope that's not it)
Error:
Passing along Model Catalog error: Error Domain=com.apple.UnifiedAssetFramework Code=5000 "There are no underlying assets (neither atomic instance nor asset roots) for consistency token for asset set com.apple.MobileAsset.UAF.FM.Overrides" UserInfo={NSLocalizedFailureReason=There are no underlying assets (neither atomic instance nor asset roots) for consistency token for asset set com.apple.MobileAsset.UAF.FM.Overrides} in response to ExecuteRequest
Playground to reproduce:
#Playground {
let session = LanguageModelSession()
do {
let response = try await session.respond(to: "What's happening?")
} catch {
let error = error
}
}
I've checked and confirmed that Foundation Models framework can indeed run in iOS and visionOS simulators running 26+ as long as the Mac it's running on also supports Apple Intelligence and has it enabled.
It should also be noted that running on a physical device is important for testing, especially when it comes to frameworks like this that require significant on-device resources.
You can reference which devices support Apple Intelligence at the bottom of this page, and minimum OS versions can be found in the Foundation Models documentation.
Thanks for the discussion everyone. We're excited about these brand new frameworks. Let us know if you have any other questions that need clarification.
-J