Apple has released a new version of its app development suite, Xcode, which integrates OpenAI’s ChatGPT for coding, document generation, and more. Developers can use API keys to bring AI models from other providers to Xcode for AI-powered programming suggestions. The new AI integrations allow developers to generate code previews, iterate on designs, and fix errors. ChatGPT can be accessed without creating an account, and paid users can increase rate limits. Apple also launched the Foundation Models framework, allowing developers to access on-device AI models with just three lines of code. The company chose ChatGPT over a vibe-coding software in partnership with Anthropic.