I am excited to try Foundation Models during WWDC, but it doesn't work at all for me. When running on my iPad Pro M4 with iPadOS 26 seed 1, I get the following error even when running the simplest query:
let prompt = "How are you?"
let stream = session.streamResponse(to: prompt)
for try await partial in stream {
self.answer = partial
self.resultString = partial
}
In the Xcode console, I see the following error:
assetsUnavailable(FoundationModels.LanguageModelSession.GenerationError.Context(debugDescription: "Model is unavailable", underlyingErrors: []))
I have verified that Apple Intelligence is enabled on my iPad. Any tips on how can I get it working? I have also submitted this feedback: FB17896752
Did you check the model availability before using it, as shown in the Apple sample code? That can probably give you a better idea about why the model is unavailable.
One typical reason is that Apple Intelligence isn't enabled on the device, which you have ruled out. The other thing I am wondering is if the issue is related to the supported languages and regions. Did you try to set your system language to English and region to United States?
Best,
——
Ziqiao Chen
Worldwide Developer Relations.