what is required system-wise to develop an iOS app with Foundation Models?
Asked on 2025-07-25
1 search
To develop an iOS app using the Foundation Models framework, you need to meet the following system requirements and considerations:
-
Supported Platforms: The Foundation Models framework is available on macOS, iOS, iPadOS, and VisionOS. This means you can develop apps using this framework on any of these platforms.
-
Development Environment: You will need Xcode to develop your app. The framework is integrated into the Apple developer ecosystem, and you can start by importing the framework into your Xcode project.
-
On-Device Execution: The Foundation Models framework runs entirely on-device, which ensures that user data remains private and the app can function offline. This also means you don't need to set up cloud services or API keys for basic usage.
-
Swift API: The framework provides a convenient Swift API, which is essential for integrating the Foundation Models into your app. You will need to be familiar with Swift to effectively use the framework.
-
Tool Calling and Structured Output: The framework supports tool calling, allowing the model to execute code defined in your app. It also supports generating structured data output, which can be integrated into your app's user experience.
-
Performance Optimization: The framework is optimized for performance using state-of-the-art techniques like quantization and speculative decoding. You can use tools like the Instruments App Profiling template to profile and optimize model requests.
For more detailed information on using the Foundation Models framework, you can refer to the session Meet the Foundation Models framework and Deep dive into the Foundation Models framework.

Meet the Foundation Models framework
Learn how to tap into the on-device large language model behind Apple Intelligence! This high-level overview covers everything from guided generation for generating Swift data structures and streaming for responsive experiences, to tool calling for integrating data sources and sessions for context management. This session has no prerequisites.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Deep dive into the Foundation Models framework
Level up with the Foundation Models framework. Learn how guided generation works under the hood, and use guides, regexes, and generation schemas to get custom structured responses. We’ll show you how to use tool calling to let the model autonomously access external information and perform actions, for a personalized experience. To get the most out of this video, we recommend first watching “Meet the Foundation Models framework”.