Chapters

Hide chapters

Apple Foundation Models

First Edition · iOS 26.5 · Swift 6.3 · Xcode 26.4

Section I: Apple Foundation Models

Section 1: 9 chapters
Show chapters Hide chapters

To follow along with the tutorials in this book, you’ll need the following:

  • A Mac running macOS 26.0 Tahoe or later with the latest point release and security patches installed. This is so you can install the latest version of the required development tool: Xcode.

  • Xcode 26.0 or later. Xcode is the main development tool for writing code in Swift. You need Xcode 26.0 at a minimum, since that version supports Apple Intelligence and Apple Foundation Models. You can download the latest version of Xcode for free from the Mac App Store, here: apple.co/1FLn51R

If you haven’t installed the latest version of Xcode, be sure to do that before continuing with the book. The code covers some features introduced in 26.4. You may get lost if you try to work with an older version or work outside the playground environment that this book assumes.

Note: When running apps that use Foundation Models in the simulator, the simulator uses the underlying device’s Apple Intelligence. That means you should run on macOS at least the same version as Xcode and the simulator you are using. This includes beta versions. You cannot run a simulator with iOS 2.64 beta on macOS 26.3 and simulate Foundation Models. If the versions don’t line up, using Foundation Models will return an error.

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.
© 2026 Kodeco Inc.