On this page
- We sent the Android prompt to an iPhone project
- The plan: SwiftUI, Swift Charts and SF Symbols
- One-time setup: Xcode and an 8.32 GB Simulator runtime
- An app icon, then nine Swift files
- BUILD SUCCEEDED on the first xcodebuild
- The real iOS Simulator, inside the builder
- Queue a change while it is still building
- iOS Visual Edit: point at it in the Simulator
- A Today redesign and a Coach tab
- On the home screen, like any other app
- The numbers
- What is next
- Frequently asked questions
- Try it
This is the second half of a two-part build. Earlier today we built Streakly, a habit tracker, as a native Android app and wrote up every step. Then we built it again for iPhone: Swift and SwiftUI, a real Xcode project, built on an Apple Silicon Mac on 30 November 2026. The run took 8 minutes 17 seconds of building and 3.83 Rex Credits, and the first xcodebuild printed BUILD SUCCEEDED.
It did not go perfectly, and we left the rough parts in. The biggest one happened before a single file existed: we sent the wrong prompt.

We sent the Android prompt to an iPhone project
We picked the iOS · Swift tab on the dashboard and pasted our prompt. It was the Android prompt, word for word. The first line still said "a native Android habit tracker (Kotlin + Jetpack Compose, Material 3, data saved on the device)". We only noticed when we read the reply.

Apirex did not try to squeeze Kotlin into an iPhone project, and it did not stop to complain either. Its first message read: "This project is set up for native iPhone only, so I can't produce Kotlin/Compose here. I'll plan Streakly as a native SwiftUI iPhone app with the same screens, style and on-device data." It also said what it would change: SF Symbols instead of emoji for the habit icons, a flame icon for streaks, and a Codable JSON file on the device for storage.

To be precise about what happened: Apirex did not convert an Android app. Each platform is its own project with its own source. The iPhone version was planned and written from scratch in Swift, using our prompt as the description of the idea. If you want something specific for iPhone, such as SwiftData for storage, write an iPhone prompt and say so.
The plan: SwiftUI, Swift Charts and SF Symbols
The plan was titled "Streakly SwiftUI Habit Tracker". Scope: iOS 17 and later, data stays on the device, no accounts and no backend. Style: white background, green accent #32C35A, rounded cards and big rounded numbers in SF Pro Rounded. Screens: Today with an animated progress ring, Add habit as a sheet with a symbol grid and weekday chips, Habit detail with a 12-week heatmap, and Stats with a bar chart built in Swift Charts. First launch would seed four habits with about five weeks of history.

One-time setup: Xcode and an 8.32 GB Simulator runtime
iPhone builds need a Mac with Xcode installed. This was the first iOS project on this Mac, so the Apirex Local Agent checked the Apple tools before anything else. It found Xcode and printed "Xcode 27.2 detected at /Applications/Xcode.app, preparing only the iPhone tools". Then it downloaded the matching iOS 27.2 Simulator runtime, 8.32 GB, with live progress in the Terminal window.

On our connection the download took a little over 20 minutes. That wait happens once per Mac. When it finished, the agent verified the Simulator and reported: "Connected, Apirex confirmed that this Mac is ready to build your iOS app." The next iOS project starts in seconds.

An app icon, then nine Swift files
The build started with the project files: project.yml, Info.plist and the asset catalogs. Next came the app icon, generated in about 40 seconds: a white flame with a check mark on a green tile. The same icon later shows up on the Simulator home screen.

Then the Swift files: Theme, Models, HabitStore, Components, StreaklyApp, TodayView, AddHabitView, HabitDetailView and StatsView. Every file opens in the details panel with its diff, so you can read the code while it is being written.

BUILD SUCCEEDED on the first xcodebuild
Apirex compiles with xcodebuild on your own Mac, not on a server. Seven minutes and ten seconds into the run, the build log printed "** BUILD SUCCEEDED **" on the first pass. Apirex then finished the screens, booted the Simulator, installed the app and opened it. At 8 minutes 17 seconds the run card read "Built iPhone habit tracker".
First try is true for this build. It is not a promise for every build. When Xcode does report an error, Apirex reads the log and fixes the code before it calls the build done.
The real iOS Simulator, inside the builder
The preview is not a mockup. It is the iOS Simulator running on our Mac, an iPhone 18 Pro on iOS 27.2, streamed into the builder. The bar under the phone shows "Live · WebRTC" and a device picker. On first launch the Today screen read "2 of 4 done" and 50 percent, with Drink water on a 14-day streak, Read 20 min on 12, Morning run on 5, and Meditate.

Taps go through to the app. We tapped the check next to Meditate and the ring moved to 3 of 4, 75 percent, with a spring animation. On the Stats tab: 24 completions this week, a 96 percent completion rate, a Last 7 days bar chart and a ranking of current streaks.

Queue a change while it is still building
You do not have to wait for a run to end before asking for the next thing. While Apirex was still generating the icon, we typed "Make the progress ring bigger with the % in the centre." The composer said "Queue follow-up…" and the request waited in a Queue card.

When the first run finished, the queue sat on Paused for about a minute and then started by itself. About two minutes later the run card read "Enlarged centered progress ring": a much larger ring with 75 percent in the middle and "3 of 4 done" underneath.

iOS Visual Edit: point at it in the Simulator
Visual Edit works on iPhone too. Switch it on and a bar appears above the Simulator: "Select an element · Shift-click for more". Click a card, a chart or a label in the running app and it gets outlined. The selection goes into the chat with your prompt, so you can say "make this card bigger" instead of describing where the card is.

A Today redesign and a Coach tab
Next we asked for a richer Today screen, closer to the Android version. Two runs in this stretch stopped on a temporary "Apirex is temporarily unavailable" card. The card said our files were safe, and we resent a plain instruction: rebuild the Today screen, add a Coach tab and habit subtitles, then build and run it in the Simulator.
The result was "Redesigned Today screen": a smaller ring with "3 of 4 done" beside it, a green "Coach tip of the day" card, subtitles such as "Every day" under each habit, and a third tab called Coach. This post covers the screen design only.

On the home screen, like any other app
Swipe up to the Simulator home screen and Streakly is there, next to Fitness, Reminders and Files, wearing the icon Apirex generated. It is a normal iPhone app in a normal Xcode project in a folder on your Mac. To run it on your own iPhone or send it to the App Store, open the project in Xcode and sign it with your Apple developer account. Apirex does not submit apps for you.

The numbers
| What | Streakly for iPhone |
|---|---|
| Platform | iPhone, Swift + SwiftUI, iOS 17 and later |
| Storage | Codable JSON file on the device, no accounts |
| Prompt | One message (our Android prompt, re-planned for iPhone) |
| Build time | 8 minutes 17 seconds |
| Cost | 3.83 Rex Credits |
| Xcode build | BUILD SUCCEEDED on the first pass |
| Preview | Real iOS Simulator, iPhone 18 Pro, iOS 27.2, streamed into the builder |
| Queued follow-up | Bigger ring, about 2 minutes |
| One-time setup | iOS 27.2 Simulator runtime, 8.32 GB download |
For comparison, the Android build of the same idea took 9 minutes 24 seconds and 6.94 Rex Credits. On the Builder plan, $30 a month with tax included for 100 Rex Credits, the iPhone build used just under 4 percent of the month.
What is next
- A website for Streakly in React, from its own prompt and the app icon: we wrote that build up too.
- A backend. Streakly keeps its data on the phone. When an app needs accounts or shared data, you can connect your own Supabase project from the Backend tab.
- More real builds, with the prompts, the numbers and the mistakes left in.
Frequently asked questions
Does Apirex build real native iPhone apps?
Yes. iPhone projects are Swift and SwiftUI in a normal Xcode project on your Mac, compiled with xcodebuild. Streakly is one you can open in Xcode today.
Do I need a Mac to build iPhone apps with Apirex?
Yes, a Mac with Xcode installed, because Apple builds use Apple's own tools. Android and web projects also work on Windows and Linux.
How long is the first iPhone setup?
The first iOS project on a Mac downloads the iOS Simulator runtime that matches your Xcode. For us that was 8.32 GB and a little over 20 minutes. It happens once; later projects start in seconds.
Can Apirex turn my Android app into an iPhone app?
No. Apirex does not convert apps between platforms. Each platform is a separate project: start an iOS project, describe the app, and Apirex writes it in SwiftUI. When we sent our Android prompt to an iOS project by mistake, it planned a SwiftUI app from the same description.
Does Visual Edit work on iPhone?
Yes. Switch on Visual Edit, click elements in the running app in the iOS Simulator preview, and describe the change. The selected elements go with your prompt.
Can I publish the app to the App Store?
Yes, with your own Apple developer account. Open the project in Xcode, sign it, archive it and upload it through App Store Connect. Apirex builds the app; it does not submit it for you.
Try it
Pick the iOS · Swift tab, describe your app (in iPhone words, unlike us), and keep the Terminal window open while it builds. If your Mac has never run the iOS Simulator, give the first setup some time. Your code. Your machine. Your build.
Keep reading

Build a website for your app with AI: a landing page for Streakly from one prompt, built in 4 minutes 36 seconds
The web part of our Streakly build: one prompt plus the app icon, one question, a self-test, an honest summary, an Install APK button and a site published on an apirex.app address.
Edit anything in your app: click it, describe it, show it an image, or plug in a backend
After the first build, the real work is changing things. We edited Streakly on Android, iPhone and the web: Visual Edit, a big fitness feature by chat, AI features, attached images and our own Supabase.Build it on your own computer
Describe the app and Apirex writes real source you own, then builds it on your machine.
Real iOS result from this postOpens Apirex with this prompt. Pick the iOS · Swift tab before you send. The Free plan includes 5 Rex Credits a day.
