There are three ways to create an app with ChatGPT. The chat writes SwiftUI code and you build it in Xcode, the Codex agent that comes with ChatGPT Plus at $20 a month writes and builds the project itself, or you make an app inside ChatGPT, which never reaches the App Store. An iPhone app always needs a Mac with Xcode 26 or later and a $99 a year Apple Developer account (OpenAI, Apple, October 17, 2026).
What does “create an app with ChatGPT” actually mean?
The phrase covers three different jobs. Two lead to the App Store and both end on a Mac, and the third lives only inside ChatGPT.
| Way | What you get | Who builds it | What you need | On the App Store |
|---|---|---|---|---|
| ChatGPT chat | Swift code in the conversation | you, in Xcode on a Mac | a Mac, Xcode 26 or later, chat from $0 | yes, after build, signing and Apple's review |
| Codex agent | an Xcode project on your Mac | the agent, through Xcode | ChatGPT Plus from $20 a month, a Mac, Xcode | yes, the same way |
| App inside ChatGPT | a plugin that opens in the conversation | OpenAI shows it in ChatGPT | your own server online, identity or business verification with OpenAI | no |
From ChatGPT pricing, OpenAI's plugin docs and Apple's requirements, checked October 17, 2026.
If you want an icon on the iPhone home screen and sales on the App Store, pick one of the first two. The third fits when you already run a service and want people to use it straight from ChatGPT.
How do you build an iOS app with the ChatGPT chat?
The chat writes the code and you do the rest in Xcode. If you already have a Mac, this way costs almost nothing, and it works fine for one or two screens.
- The project. In Xcode choose File › New › Project, the iOS App template and the SwiftUI interface. Xcode is free on the Mac App Store.
- A task for the chat. Describe one screen. Say that you want SwiftUI, which minimum iOS version, and all the code in one file.
- Paste. Copy the answer into ContentView.swift, or into a new file named after the main type in the code.
- Build. Command-R builds the app and runs it in the simulator.
- Errors back to the chat. If the build fails, copy the error from Xcode into the chat along with the file it points to. Repeat until it builds.
- Your iPhone. In Signing & Capabilities pick your team, connect the iPhone and run the app on it.
Steps 4 and 5 take the most time. Every loop goes through you, because the chat sees neither the project nor the build nor the screen. How Xcode itself works, from New Project to your iPhone, is in How to build an app in Xcode.
Where does the chat approach break?
At project size. The chat sees only what you pasted into the conversation and knows nothing about the other files.
Our own apps give a sense of scale. The 9 apps we have on the App Store hold 12 to 37 Swift files and 1,359 to 9,301 lines of code in their source folders. Pool Chemist, a pool calculator, is the smallest and Carousela the largest (counted October 17, 2026). Moving that much by hand takes long, and a change in one file easily breaks another the chat never saw.
- Settings outside the code. The camera, photos and microphone need a usage string for the user in Info.plist, such as NSCameraUsageDescription. Code from a chat won't add it, and without it there is no camera access.
- Purchases. A subscription or one-time purchase has to be set up in App Store Connect and tested in the sandbox. The paywall code is only half the job.
- Signing and upload. Xcode handles certificates, the bundle ID and the archive, and the chat can only tell you where to click. How it works is in the glossary entry on certificates and profiles.
ChatGPT inside Xcode removes part of the manual work. Since Xcode 26 the chat is built into Xcode, sees the project and edits files itself, and you can use it without a ChatGPT account, with a cap on requests. How to turn it on is in Claude and ChatGPT in Xcode 26.
How does ChatGPT build an app itself with Codex?
Through Codex, OpenAI's agent that comes with a ChatGPT plan. It opens the project, writes the files, runs the build and reads the errors, so there is no copying by hand. On Plus at $20 a month, Codex works on the web, in the terminal, in code editors and in the ChatGPT app for iOS (OpenAI, October 17, 2026). Since Xcode 26.3 it also runs as an agent inside Xcode.
Codex builds an iPhone app wherever Xcode is installed, which means your Mac. A comparison of Codex, Claude Code and Cursor on one iOS task is in AI for iOS coding. How to run Codex through a whole project is in Codex and iOS apps. How to describe a five-screen first version to the agent is in How to brief an AI agent.
What is an app inside ChatGPT, and will it reach the App Store?
It won't reach the App Store. Apps in ChatGPT live inside the conversation. People call them up in a chat, and they show cards, lists, maps or a fullscreen view right in the thread. OpenAI packages them as plugins in a directory shared by ChatGPT and Codex (OpenAI docs, October 17, 2026).
To release one you need your own server at a public HTTPS address, a plugin package as a ZIP file and individual or business verification in your OpenAI account. The package goes through automated checks and OpenAI's review, and once approved you choose when to publish (submission steps).
| iPhone app | App in ChatGPT | |
|---|---|---|
| Where it lives | on the iPhone, installed from the App Store | inside the conversation in ChatGPT and Codex |
| Who reviews it | Apple | OpenAI |
| What you need | a Mac, Xcode, a $99 a year Apple Developer account | your own server, verification with OpenAI |
| How it earns | App Store purchases and subscriptions, ads | only physical goods sold on your own site, no ads |
| Audience | by App Store age rating | must suit ages 13 to 17, can't target children under 13 |
From OpenAI's plugin guidelines and the Apple Developer Program terms, checked October 17, 2026.
The biggest limit is money. OpenAI's rules let plugins sell only physical goods, and digital products, subscriptions and credits are banned, as are ads. A subscriber can sign in to an account they already pay for, but they can't start a subscription inside ChatGPT. For an app that lives on subscriptions, this path is closed for now.
What does it cost, and what do you need either way?
An iPhone app on the App Store needs a Mac, Xcode and an Apple Developer account at $99 a year. Since April 28, 2026, App Store Connect accepts only builds from Xcode 26 or later with the iOS 26 SDK (Apple, October 17, 2026). Without a Mac, see cloud Macs and cloud builds in How to make an iOS app without a Mac.
- Free, $0. The chat and Codex for quick tasks.
- Go, $8 a month. Codex for lightweight tasks.
- Plus, $20 a month. Codex on the web, in the terminal and on iOS, for a few focused coding sittings a week in OpenAI's words.
- Pro, $100, $200 or $500 a month. Everything in Plus with higher limits.
ChatGPT plans from OpenAI's pricing page, checked October 17, 2026.
The free plan is enough for the chat approach, but the build and every error loop stay with you. Codex on Plus takes those over and leaves you to check the screens.
What should you check before the first line of code?
Check whether ChatGPT itself already solves the job. Of the 134 niches our research covered from September 6 to October 13, 2026, a chatbot replaced the app in 2 and partly in 10, with details in Will ChatGPT replace your app.
In the book 50 niches for iPhone apps, 43 of the 50 niches pass this check. In the other 7 ChatGPT does part of the work, such as planning a weekly menu or drafting invoice text, and the app rests on what it can't do (edition of October 16, 2026). Every one of the 50 niches comes with a task for the agent, and all of them start with the line “Build a native iPhone app in SwiftUI.” You can paste it into the ChatGPT chat or into Codex.
Appto works with Codex on your ChatGPT subscription and with Claude Code on a Claude subscription, and the full path from niche to App Store has been tested on Claude Code. Before any code Appto checks the niche on live App Store data, then designs the screens as live mockups, writes the app in SwiftUI and walks every screen in the simulator itself. Then come the store screenshots and texts and App Store Connect, where Appto asks for your OK before each change. As of October 13, 2026, 9 apps made with Appto are on the App Store.
Questions
Can ChatGPT create iPhone apps?
It writes the code. Xcode on a Mac builds the app, either by hand from chat code or through the Codex agent that comes with ChatGPT Plus at $20 a month (OpenAI, October 17, 2026).
How can I create an app with ChatGPT for free?
The free ChatGPT plan gives you code, and Xcode is free too. You pay for the Mac and for a $99 a year Apple Developer account, which the App Store requires (Apple, October 17, 2026).
Can I do vibe coding with ChatGPT?
Yes, through Codex, which writes, builds and fixes the project itself on your Mac. The plain chat works too, but you carry every file and error between the chat and Xcode.
Will an app inside ChatGPT be on the App Store?
No. It lives in the ChatGPT and Codex plugin directory, OpenAI reviews it, and OpenAI's rules don't allow selling digital subscriptions through it (October 17, 2026).
ChatGPT or Claude for vibe coding?
Both work, and the Codex and Claude Code agents come with plans from $20 a month. All 9 of our App Store apps were built with Claude Code (October 13, 2026).
Build your own app in Appto
Appto checks the niche on fresh App Store data, designs the screens, writes the code, builds the App Store page and submits to Apple from your account or shows you what to press in App Store Connect. Runs on your own Claude Code or Codex.
Download for Mac50 niches checked for money
The Appto book: the money in each niche, the leaders and their weak spots, a version 1 plan and a ready task for the agent. 5 niches free.
Open the book