IDE Apple · first released 2003
Xcode
Apple's IDE for building apps for Apple platforms, free on the Mac App Store and available only on macOS.
- Price
- Free Xcode is a free download from the Mac App Store.
- Latest version
- 27.2 29 Oct 2026
- Runs on
- macOS
- AI
- Built in
- Source
- Proprietary Not published by Apple (closed source)
Checked 30 Nov 2026 against 13 official pages · Method
Screenshots
Screenshots of Xcode 27.2, taken on 24 November 2026 with the same sample project as every editor on this site. Method
Section 01 · Overview
What it is
Xcode is Apple's integrated development environment for developing, testing and distributing apps for iOS, iPadOS, macOS, tvOS, watchOS and visionOS. It includes a source editor, a debugger, the Instruments profiler, device simulators and built-in Git support, and it ships the Swift toolchain and the Apple Clang compiler for C++. Apple introduced Xcode in June 2003. The current version, Xcode 27.2, requires macOS 26.6 or later and a Mac with an Apple M1 chip or later.
Built in
- Debugger
- Git integration
- AI assistant
- Vim mode
What stands out
- Coding intelligence in Xcode 27 works with coding agents and models from Anthropic, Google and OpenAI. Other agents can be added through the Agent Client Protocol, and tools through the Model Context Protocol.
- Device Hub runs and tests apps on physical devices and simulators, and Xcode Previews shows SwiftUI, UIKit and AppKit views in a preview canvas while editing.
- The debugger supports breakpoints, variable monitoring and memory inspection, and Instruments profiles performance and system resource usage.
- Git source control is built in, and the source editor has had Vim key bindings since Xcode 13.
- Xcode Cloud, Apple's continuous integration and delivery service, is built into Xcode, and tests can be written with Swift Testing and XCTest side by side.
Suits
- Developers building apps for iPhone, iPad, Mac, Apple Watch, Apple TV or Apple Vision Pro who need Apple's SDKs, simulators and App Store submission in one tool.
- Developers who want to try Apple platform development at no cost. Xcode is free, and running an app on a device needs only a free Apple Account.
- Developers who want coding agents from Anthropic, Google or OpenAI integrated into the IDE they use for Swift.
Look elsewhere if
- Developers working on Windows or Linux. Xcode is available only for the Mac.
- Developers with an Intel-based Mac or a macOS version older than 26.6. The current version requires an Apple M1 chip or later.
- Developers whose projects do not target Apple platforms. Xcode's tools are built around developing, testing and distributing apps for those platforms.
Section 02 · Cost
AI and price
What Xcode costs, and what you get for it.
Xcode is a free download from the Mac App Store. Running apps on an Apple device needs only a free Apple Account. Submitting apps to the App Store requires Apple Developer Program membership, which has an annual fee of 99 USD, charged in local currency where available; Apple notes that prices may vary by region.
Ways to get AI in Xcode
| Way | What you get | Cost |
|---|---|---|
| A coding agent | 6 coding agents in the directory run inside Xcode. | 1 start free |
Section 03 · Language support
Languages
4 of the 40 languages we check get full support: completion, go to definition and debugging. Select a language to see what works and what to install.
JavaScript Not supported
Xcode has no support for this language.
Xcode has no JavaScript tooling such as completion, a debugger or build settings. Its language settings cover C, C++, Objective-C and Swift.
TypeScript Not supported
Xcode has no support for this language.
Xcode has no TypeScript tooling. Its language settings cover C, C++, Objective-C and Swift.
Python Not supported
Xcode has no support for this language.
Xcode has no Python tooling such as completion or a debugger. Its language settings cover C, C++, Objective-C and Swift.
Java Not supported
Xcode has no support for this language.
Xcode has no Java tooling. Its language settings cover C, C++, Objective-C and Swift.
C# Not supported
Xcode has no support for this language.
Xcode has no C# tooling. Its language settings cover C, C++, Objective-C and Swift.
C++ Full support Built in
Write, navigate and debug code. Nothing to install: it ships with Xcode.
- Works
- Completion, Go to definition, Debugging
- Missing
- Refactoring, Formatting, Tests
C and C++ are built in through Clang, with build settings for the C++ language dialect and standard library hardening, symbol search across the workspace and the Xcode debugger. Xcode runs only on macOS.
C Full support Built in
Write, navigate and debug code. Nothing to install: it ships with Xcode.
- Works
- Completion, Go to definition, Debugging, Tests
- Missing
- Refactoring, Formatting
C is built in through Clang, with a C language dialect build setting, symbol search, the Xcode debugger and XCTest for C code called from tests. Xcode runs only on macOS.
Go Not supported
Xcode has no support for this language.
Xcode has no Go tooling. Its language settings cover C, C++, Objective-C and Swift.
Rust Not supported
Xcode has no support for this language.
Xcode has no Rust tooling. Its language settings cover C, C++, Objective-C and Swift.
PHP Not supported
Xcode has no support for this language.
Xcode has no PHP tooling. Its language settings cover C, C++, Objective-C and Swift.
Ruby Not supported
Xcode has no support for this language.
Xcode has no Ruby tooling. Its language settings cover C, C++, Objective-C and Swift.
Kotlin Basic support Community extension
Syntax colours and little more. Install one community extension.
- Works
- Debugging
- Missing
- Completion, Go to definition, Refactoring, Formatting, Tests
Touchlab's xcode-kotlin, installed with Homebrew, adds Kotlin coloring and lets you set breakpoints and inspect variables in Kotlin Multiplatform code from Xcode. It has no Kotlin completion; you write the Kotlin in Android Studio or IntelliJ IDEA.
Swift Full support Built in
Write, navigate and debug code. Nothing to install: it ships with Xcode.
- Works
- Completion, Go to definition, Refactoring, Debugging, Tests, Formatting
Swift is Xcode's main language, with SwiftUI previews, refactoring, the LLDB debugger, XCTest and Swift Testing, and formatting with the bundled swift-format. Xcode runs only on macOS.
Objective-C Full support Built in
Write, navigate and debug code. Nothing to install: it ships with Xcode.
- Works
- Completion, Go to definition, Refactoring, Debugging, Tests
- Missing
- Formatting
Objective-C is built in through Clang, with completion, rename across Objective-C and Swift, the debugger and XCTest. Apple's newer tools and samples focus on Swift.
Dart Not supported
Xcode has no support for this language.
Xcode has no Dart tooling. Flutter apps still use Xcode to build and sign the iOS side, but you write the Dart code in another editor.
HTML Not supported
Xcode has no support for this language.
Xcode has no HTML tooling such as completion or validation. Its language settings cover C, C++, Objective-C and Swift.
CSS Not supported
Xcode has no support for this language.
Xcode has no CSS tooling. Its language settings cover C, C++, Objective-C and Swift.
SQL Not supported
Xcode has no support for this language.
Xcode has no SQL editor or database tools. SwiftData and Core Data are modeled in Swift or the data model editor, not in SQL.
Shell Not supported
Xcode has no support for this language.
Xcode runs shell code in Run Script build phases but has no shell completion, linting or debugging.
PowerShell Not supported
Xcode has no support for this language.
Xcode has no PowerShell tooling. Its language settings cover C, C++, Objective-C and Swift.
Lua Not supported
Xcode has no support for this language.
Xcode has no Lua tooling. Its language settings cover C, C++, Objective-C and Swift.
R Not supported
Xcode has no support for this language.
Xcode has no R tooling. Its language settings cover C, C++, Objective-C and Swift.
Visual Basic Not supported
Xcode has no support for this language.
Xcode has no Visual Basic tooling. Its language settings cover C, C++, Objective-C and Swift.
Pascal Not supported
Xcode has no support for this language.
Xcode has no Pascal tooling. Its language settings cover C, C++, Objective-C and Swift.
Assembly Basic support Built in
Syntax colours and little more. Nothing to install: it ships with Xcode.
- Works
- Debugging
- Missing
- Completion, Go to definition, Refactoring, Formatting, Tests
Xcode colors Intel and Arm assembly files and builds .s files with Clang in a target. While debugging, Debug > Debug Workflow > Always Show Disassembly makes LLDB step through instructions. There is no completion for assembly.
Perl Not supported
Xcode has no support for this language.
Xcode has no Perl tooling. Its language settings cover C, C++, Objective-C and Swift.
MATLAB Not supported
Xcode has no support for this language.
Xcode has no MATLAB tooling. Its .m files are Objective-C sources.
Fortran Not supported
Xcode has no support for this language.
Xcode has no Fortran tooling. Its language settings cover C, C++, Objective-C and Swift.
Scala Not supported
Xcode has no support for this language.
Xcode has no Scala tooling. Its language settings cover C, C++, Objective-C and Swift.
Elixir Not supported
Xcode has no support for this language.
Xcode has no Elixir tooling. Its language settings cover C, C++, Objective-C and Swift.
Haskell Not supported
Xcode has no support for this language.
Xcode has no Haskell tooling. Its language settings cover C, C++, Objective-C and Swift.
Zig Not supported
Xcode has no support for this language.
Xcode has no Zig tooling. Its language settings cover C, C++, Objective-C and Swift.
Julia Not supported
Xcode has no support for this language.
Xcode has no Julia tooling. Its language settings cover C, C++, Objective-C and Swift.
Groovy Not supported
Xcode has no support for this language.
Xcode has no Groovy tooling. Its language settings cover C, C++, Objective-C and Swift.
Clojure Not supported
Xcode has no support for this language.
Xcode has no Clojure tooling. Its language settings cover C, C++, Objective-C and Swift.
Common Lisp Not supported
Xcode has no support for this language.
Xcode has no Common Lisp tooling. Its language settings cover C, C++, Objective-C and Swift.
OCaml Not supported
Xcode has no support for this language.
Xcode has no OCaml tooling. Its language settings cover C, C++, Objective-C and Swift.
COBOL Not supported
Xcode has no support for this language.
Xcode has no COBOL tooling. Its language settings cover C, C++, Objective-C and Swift.
Prolog Not supported
Xcode has no support for this language.
Xcode has no Prolog tooling. Its language settings cover C, C++, Objective-C and Swift.
GDScript Not supported
Xcode has no support for this language.
Xcode has no GDScript tooling. Its language settings cover C, C++, Objective-C and Swift.
Full support · Write, navigate and debug code. Basic support · Syntax colours and little more.
Section 04 · Setup
Install Xcode
Version 27.2, released 29 Oct 2026.
- System
- macOS Tahoe 26.6 or later Apple's own download page sends you to the Mac App Store; its other downloads ask you to sign in with an Apple Account.
- Also needs
- A Mac with an Apple M1 chip or later
Xcode is only for Mac, and only for Macs with Apple silicon.
Section 05 · Alternatives
Compare
The editors people weigh against Xcode, on the same facts.
| Editor | Type | Price | Built with | Runs on | Languages | Remote development | Live collaboration | Vim mode |
|---|---|---|---|---|---|---|---|---|
| Xcode This page | IDE | Free | Not published by Apple (closed source) | macOS | 4 / 40 | Not listed | Not listed | Built in |
| VS Code | Editor | Free Open source | TypeScript, Electron | Windows · macOS · Linux | 38 / 40 | Extension | Extension | Extension |
| CLion | IDE | Paid | Java, Kotlin (IntelliJ Platform) | Windows · macOS · Linux | 29 / 40 | Built in | Not supported | Extension |
| Nova | Editor | Paid | Native macOS app (language not stated by the maker) | macOS | 25 / 40 | Built in | Not listed | Built in |
| Android Studio | IDE | Free Open source | IntelliJ Platform (IntelliJ IDEA Community Edition) | Windows · macOS · Linux | 33 / 40 | Not listed | Not listed | Extension |
Languages: how many of the 40 we check get completion and go to definition.
Section 06 · Short answers
Xcode questions
14 short answers, each from an official page. Checked 30 Nov 2026.
Price and licence
Yes Is Xcode free?
Xcode is a free download from the Mac App Store.
Source: Xcode on the Mac App Store ↗
No Do I need to pay $99 to use Xcode?
With a free Apple Account you can use Xcode and install your apps on your own devices. The Apple Developer Program, $99 a year, is needed to distribute apps, get beta software and use capabilities such as Siri, Apple Pay and iCloud.
Systems and setup
No Does Xcode run on Windows or Linux?
Xcode is a Mac app from the Mac App Store. Xcode 27.2 requires macOS 26.6 or later.
Source: Xcode on the Mac App Store ↗
No Does the latest Xcode run on an Intel Mac?
Xcode 27.2 requires a Mac with an Apple M1 chip or later.
Source: Xcode on the Mac App Store ↗
Partly Do I need an Apple Account to use Xcode?
To run an app on a physical iPhone, iPad or other device, sign in with a personal Apple Account or a developer account under Xcode > Settings > Apple Accounts so Xcode can set up signing. Running a macOS app on your own Mac needs no signing unless you add capabilities that require provisioning.
Source: Running your app on devices ↗
How big is Xcode?
The Mac App Store lists Xcode 27.2 at 3.1 GB.
Source: Xcode on the Mac App Store ↗
Switching to Xcode
Yes Does Xcode work with GitHub Copilot?
GitHub publishes GitHub Copilot for Xcode, an open-source app that adds Copilot code completion, chat and agent mode to Xcode. It needs macOS 13 or later, Xcode 14 or later and a GitHub account.
Source: Copilot for Xcode repository ↗
AI and privacy
Which AI models can I use in Xcode?
Xcode's Intelligence settings offer ChatGPT, with or without an account, and Claude Sonnet and Opus through a Claude sign-in. You can also add agents that support the Agent Client Protocol and chat providers that support the Chat Completions API.
Source: Setting up coding intelligence ↗
Yes Can I use a local model in Xcode?
Add a chat provider in the Intelligence settings, choose Locally Hosted and enter the port it runs on. The provider has to support the Chat Completions API, including the /v1/models and /v1/chat/completions endpoints.
Source: Setting up coding intelligence ↗
Yes Can I use Claude Code or Codex with Xcode?
Xcode has an MCP server that external agents can use to change your project and build your app. Allow external agents in the Intelligence settings, then connect the agent with the xcrun mcpbridge command.
Yes Can I turn off AI in Xcode?
Agents and chat providers work only after you turn them on in Xcode > Settings > Intelligence, and ChatGPT in Xcode can be switched off there again. On managed Macs, an MDM profile can turn off the coding assistant.
Source: Setting up coding intelligence ↗
Yes Does Xcode have AI code completion?
In Swift files, predictive code completion suggests code at the cursor as you type; press Tab to accept it. You can customize or turn off code completion under Xcode > Settings > Editing > Completion.
Source: Editing source files ↗
Features
Yes Can I test apps without a real device?
Xcode runs apps on simulated iOS, iPadOS, tvOS, visionOS and watchOS devices in Device Hub. Simulators don't match the performance or every feature of a physical device, so Apple suggests testing on real devices too.
Source: Running your app on devices ↗
Yes Does Xcode have a Vim mode?
Vim key binding support arrived in Xcode 13 as a new feature.
Source: Xcode 13 release notes ↗
Sources: 13 official pages, last checked 30 Nov 2026 ShowHide
- Official site ↗
- Mac App Store listing (price, version, requirements) ↗
- Xcode support (versions and minimum macOS) ↗
- Source control management docs ↗
- Setting up coding intelligence docs ↗
- Xcode 13 release notes (Vim key bindings) ↗
- Apple Developer Program enrollment (membership fee) ↗
- Xcode introduction press release (June 2003) ↗
- Xcode system requirements ↗
- Xcode 27 release notes (Google Gemini and Google Antigravity in the coding assistant) ↗
- Xcode 27.2 release notes ↗
- Xcode 27.2 (27B52) release announcement ↗
- Xcode resources (where to download) ↗