I am getting FoundationModels.LanguageModelError error -1 when trying to use Foundation Models on the visionOS 27 simulator. It works on the iOS 27 simulator.
Is this a bug with the visionOS 27 simulator specifically?
I am getting FoundationModels.LanguageModelError error -1 when trying to use Foundation Models on the visionOS 27 simulator. It works on the iOS 27 simulator.
Is this a bug with the visionOS 27 simulator specifically?
A simulator bug is possible, but unfortunately all "FoundationModels.LanguageModelError error -1" tells us is something went wrong at the system level... the underlying problem could be a ton of different things, there's no way to tell from this error alone.
Standard things to try:
If you're still experiencing the error after that, could you possibly send a Feedback Report, and ideally include a tiny Xcode project that includes just enough code to reproduce the error? Without a way to replicate we're stuck guessing.