Can Claude build an iPhone app? What works in 2026
Claude writes Swift well, and Claude Code can run your build tools, but an iPhone app still needs Xcode on a Mac. Three routes, and which suits you.

By Sigsten Gustavii· · 8 min read
Claude can write the code for an iPhone app, and with Claude Code on a Mac with Xcode it can also run the build, but without a Mac the app cannot be built, run or published.
Anthropic's Claude is widely used for code, and people often ask whether it can take them all the way to an app on their iPhone. The honest answer depends on which Claude you mean and what computer you have. This guide sets out three routes: Claude in a chat, Claude Code on a Mac, and an AI app builder, with what each needs and where each stops.
| Claude in a chat | Claude Code on a Mac with Xcode | Borel | |
|---|---|---|---|
| Writes Swift and SwiftUI | Yes | Yes | Yes |
| Keeps the project's files | No: you copy and paste | Yes, in your project folder | Yes |
| Builds the app | No | Yes, by running Apple's build tools | Yes, with Xcode on Borel's Mac |
| Runs it on a simulator | No | Yes, Xcode's Simulator on your Mac | Yes, streamed into your browser, free |
| Needs a Mac | To build, yes | Yes | No |
| Needs a terminal | No | Yes, or Claude Code's desktop app | No |
| Publishes to the App Store | No | With Xcode and your Apple account | The Publish flow, on Pro |
Route 1: Claude in a chat
In the Claude app or on the web, Claude writes Swift and SwiftUI the way it writes any code: you describe a screen, it gives you the file. It is a strong tutor for Apple's frameworks and good at explaining errors you paste in.
What a chat cannot do is build the app. The code has to go into an Xcode project on a Mac (or, for a simple app, Apple's Swift Playground app on an iPad), be compiled against Apple's iOS SDK and signed before it runs anywhere. You become the go-between: copying files in, building, copying errors back. That works for learning and for small apps, and gets slow as the project grows.
Route 2: Claude Code on a Mac with Xcode
Claude Code is Anthropic's coding agent. Its documentation describes it as a tool that reads your codebase, edits files, runs commands and integrates with your development tools, available in the terminal, IDE extensions, a desktop app and the browser.
On a Mac with Xcode installed, that changes the picture: Claude Code works directly in your project, so it can write the Swift files, run the same build commands you would, read the errors and fix them, without you copying anything. For a developer, or someone willing to learn the basics of Xcode and a terminal, this is a capable route.
It still assumes the things that come with native iOS development: a Mac, Xcode, an Apple ID for signing, and Apple's Developer Program to publish. Claude Code also runs on Windows and Linux, but there the iOS build step is not available, because Xcode is not.
Route 3: an AI app builder that runs Xcode for you
An AI app builder puts the model, the project, the build and the testing in one place. Borel writes native Swift and SwiftUI, Xcode builds it on Borel's own Mac, and the app runs on Apple's iOS Simulator streamed into your browser. You never install Xcode or open a terminal, and it works from Windows, a Chromebook or a Mac.
What each route needs
| Requirement | Claude chat | Claude Code on a Mac | Borel |
|---|---|---|---|
| Computer | Any, but a Mac to build | A Mac | Any, with a browser |
| Xcode | Yes, to build | Yes | No: Borel's Mac has it |
| Coding knowledge | Some, to assemble the project | Helpful | None |
| Account | A Claude plan | A Claude subscription or Anthropic Console account | Borel, free to start |
| Apple's membership to publish | 99 USD a year | 99 USD a year | 99 USD a year |
| Backend for accounts and data | You set it up | You set it up | Built in |
What about Windows?
Claude Code installs on Windows, and on a Windows PC it can still help with an iPhone app: write and organise the Swift code, explain it, and prepare a project. What it cannot do there is build or run the app, because Apple's iOS SDK and Simulator come only with Xcode on macOS. Some developers pair a Windows PC with a rented cloud Mac for the build step; others use a builder that builds on its own Mac. Our posts on making iOS apps on Windows and iOS emulators for Windows cover both.
Is Claude different from ChatGPT here?
For this question, not really. Both are AI models that write code well, and both meet the same wall: an iPhone app has to be built and signed with Apple's tools on a Mac. The difference that matters is the tool around the model. A chat leaves you copying files; an agent like Claude Code works in your project on a Mac; a builder like Borel owns the project, the Mac and the publishing. Our post Can ChatGPT make an iPhone app? goes through the same routes for OpenAI's tools.
Tips for building an iPhone app with Claude
- Name the platform and version: "SwiftUI for iOS 27", or whichever version you target, so you get current APIs.
- Work in small steps: one screen or feature per request, built and checked before the next.
- Keep a short project note describing the app, its data and its conventions, so each session starts with the same context. Claude Code reads a CLAUDE.md file in your project for exactly this.
- Paste the full error with the code around it when something fails.
- Test on a real iPhone before publishing: the camera, notifications and touch behave differently from a simulator.
In this SwiftUI app for iOS 26, add a Settings screen with a toggle for daily reminders and a time picker. Schedule a local notification at the chosen time when the toggle is on. Build the project and fix any errors.Where each route gets hard
- Chat: the project drifts out of step with the conversation, and every build error is a round trip.
- Claude Code: you own the setup: Xcode versions, signing certificates, capabilities, the backend and the App Store upload.
- Any route: App Review, privacy policies, screenshots and getting found are not code problems. Our posts on App Store review times and privacy policies cover them.
How to make an iPhone app with Borel, step by step
- Sign up at borel.one on any computer. The free plan gives 5 credits a day.
- Describe the app in plain words, as you would to Claude.
- Borel writes and builds it: Swift and SwiftUI, compiled by Xcode on Borel's Mac. If Xcode finds an error, Borel reads it and tries to fix it.
- Try it on the live iPhone in your browser.
- Change it by chatting; every version is saved.
- Install it on your iPhone with Borel Companion, on Pro.
- Publish with Pro and Apple's Developer Program, from the browser.
- Take the code with you if you like: download the SwiftUI source with its XcodeGen project.yml and keep working on it in Xcode with Claude Code.
A plant care app: add my plants with a photo and how often each needs water, show which ones need watering today, and remind me in the morning.The routes are not rivals. Many people start an app on Borel to get a working native app quickly, then download the project and continue with a coding agent once they want to go further by hand. Our guide to making an iPhone app with AI walks through the Borel side in detail, and Can ChatGPT make an iPhone app? covers the same question for OpenAI's tools.
How to choose
- No Mac, or no wish to set up Xcode: [Borel](/signup).
- A Mac and some coding confidence: Claude Code with Xcode.
- Learning Swift: Claude in a chat as a tutor, with Xcode open beside it.
- Not sure: build the opening version on Borel, then decide whether to continue there or in Xcode.
The bottom line
Claude can build an iPhone app when it has Apple's tools to work with: in a chat it writes the code, and with Claude Code on a Mac with Xcode it can write, build and fix it. Without a Mac, the build step is the wall. If you want a native iPhone app without setting up Xcode, describe it to Borel and try it on a live iPhone in your browser, free to start.
Questions people ask
Can Claude make an iPhone app?
Claude can write the Swift code for one. To build and run it, you need Xcode on a Mac; Claude Code can then run the build in your project. Borel does the building on its own Mac, so you need neither.
Can Claude Code build iOS apps?
On a Mac with Xcode, yes: Claude Code edits files and runs commands in your project, including Apple's build tools. On Windows or Linux, the iOS build step is not available because Xcode only runs on macOS.
Is Claude good at Swift?
Claude writes Swift and SwiftUI well, especially when you name the iOS version and keep requests focused. As with any AI, build and test what it writes.
Do I need to know how to code to use Claude for an app?
For the chat or Claude Code routes, some knowledge helps, mainly of Xcode and the App Store steps. With Borel you describe the app in plain words and never handle the code unless you want to.
Can I publish an app Claude helped me write?
Yes. Apple reviews the app, not how it was written. You need Apple's Developer Program at 99 USD a year and a build uploaded from Xcode or a service like Borel.
Can I use Claude Code on an app I made with Borel?
Yes. Download the SwiftUI source with its XcodeGen project.yml, open it on a Mac, and keep working on it with Claude Code or any editor.
Can Claude publish my app to the App Store?
Not on its own. Publishing needs an archive built with Xcode 26 or later, signed with your Apple account and uploaded to App Store Connect. On a Mac, Claude Code can help you through those steps; Borel's Publish flow does them from the browser.
Does Claude Code work without a Mac for iOS?
It runs on Windows and Linux and can write the Swift code there, but it cannot build or run an iPhone app without Xcode, which only runs on macOS.
What is the easiest way to make an iPhone app with AI?
A builder that writes, builds and runs the app for you. With Borel you describe it, try it on a live iPhone in your browser and publish from the same place, with no Mac.
I think every route here is a good one for the right person. If you are not sure which is yours, start with a free app on Borel and decide once you have something running.
– Sigsten
Make your iPhone app in Borel
Describe the app you want and see its first screens before you pay anything.
See your app free