2 min read AI-generated

Claude Arrives in Apple Foundation Models — One Swift Package for Every Apple Device

Copy article as Markdown

Anthropic released a Swift package that integrates Claude directly into Apple's Foundation Models framework. Developers can now swap between on-device AI and Claude with zero code changes.

Featured image for "Claude Arrives in Apple Foundation Models — One Swift Package for Every Apple Device"

While Apple’s WWDC keynote focused on the big Siri overhaul, a quieter announcement may matter just as much for developers: Claude is now directly available inside Apple’s Foundation Models framework.

What Happened

Anthropic published a Swift package that implements Apple’s LanguageModel protocol. Sounds technical, but the impact is huge: developers can swap between Apple’s local on-device model and Claude as a server-side model — with zero code changes.

The package supports iOS 27, iPadOS 27, macOS 27, visionOS 27, and even watchOS 27. Claude now runs on every Apple device that gets the new operating systems.

Why This Matters

Until now, every AI integration required its own API setup. Want Claude? Anthropic SDK. Want Gemini? Google SDK. Want the local model? Yet another API.

With Apple’s Foundation Models framework, there’s now a unified interface. You write your code once and switch between Claude, Gemini, and the local model through configuration. That dramatically lowers the barrier for adding AI to apps.

Xcode 27 Gets Dual-Engine Coding

Apple also shipped Xcode 27 with a new agentic coding system. Xcode now uses both a local model and cloud models — including Claude, Gemini, and OpenAI. You can switch between engines directly in the IDE.

For Apple developers, this is a paradigm shift. AI-assisted coding was mainly a Copilot and Cursor thing. Apple building it into Xcode makes it a standard tool.

My take: This is one of Anthropic’s smartest moves recently. Instead of waiting for developers to integrate the Claude API directly, Claude becomes part of Apple’s ecosystem. Any Swift developer can now use Claude with a few lines of code. The distribution potential is massive — Apple has over 30 million registered developers. And through the unified protocol, Claude competes with Gemini on equal footing rather than being perceived as a third-party API.

Sources: Anthropic Blog, Anthropic Docs, TechTimes