Getting FoundationsModel running in Simulator

I have a mac (M4, MacBook Pro) running Tahoe 26.0 beta. I am running Xcode beta.

I can run code that uses the LLM in a #Preview { }.

But when I try to run the same code in the simulator, I get the 'device not ready' error and I see the following in the Settings app.

Is there anything I can do to get the simulator to past this point and allowing me to test on it with Apple's LLM?

Answered by cwoloszynski in 850182022

I upgraded from macOS beta 3 to beta 4, then installed Xcode beta 4.

As soon as the simulator started, it popped up a notification that Apple Intelligence was ready to use.

The FoundationModel code now works in my app.

Hello,

Check this thread for more details.

Hi @cwoloszynski,

Please share which beta versions of macOS, Xcode, and iOS you have set up.

Suggested debugging steps are restarting Xcode and your Mac, and you can also try running on a physical device with the iOS 26 developer beta if you have one available, to ensure your Foundation Models code runs there properly.

If the issue persists, please file feedback as well, and be sure to include your device information and OS and Xcode beta version numbers.

Best,

-J

Accepted Answer

I upgraded from macOS beta 3 to beta 4, then installed Xcode beta 4.

As soon as the simulator started, it popped up a notification that Apple Intelligence was ready to use.

The FoundationModel code now works in my app.

Getting FoundationsModel running in Simulator
 
 
Q