Native iPhone apps

AI iOS app builder for native iPhone apps

Apirex is an AI iOS app builder that writes Swift and SwiftUI in an editable Xcode project you own. Describe your phone screens and actions, connect your Mac, and refine the running app through chat.

iOS · Swift

Free plan: 5 Rex Credits a day. See a real build

The Streakly Stats screen with a Swift Charts bar chart on an iPhone in the iOS SimulatorThe Streakly Today screen in SwiftUI on an iPhone 18 Pro in the iOS Simulator
8:17build time3.83 Rex Credits

Real iPhone build. Streakly in SwiftUI, in the real iOS Simulator.

Real build

One prompt. A real SwiftUI app.

Streakly for iPhone, built on our Apple Silicon Mac on 30 November 2026. The first xcodebuild printed BUILD SUCCEEDED.

8:178 minutes 17 seconds of building
Cost3.83 Rex Credits
xcodebuildBUILD SUCCEEDED at 7:10, first pass
Swift files9
  1. Android prompt re-planned as SwiftUI
  2. Plan approved
  3. App icon generated
  4. Swift files written
  5. BUILD SUCCEEDED
  6. Opened in the iOS Simulator

Streakly · iPhone · 30 November 2026 · Apple Silicon Mac · one-time 8.32 GB Simulator runtime not counted

Streakly first launch on an iPhone 18 Pro Simulator with four sample habits
First launch: four sample habits with weeks of history, already on the phone.
Apirex code view with SwiftUI source and StreaklyApp.swift open
SwiftUI source as it was written, with StreaklyApp.swift open.
Apirex explaining the project is native iPhone only and planning Streakly as a SwiftUI app
An Android prompt on the iOS tab, re-planned as SwiftUI with the same screens.

iPhone builds and the iOS Simulator need a Mac with Xcode, because Apple ships Xcode for macOS only. The Simulator runs the iOS version that comes with your installed Xcode, so it is as current as your Xcode. The first iOS project on a Mac also downloads the Simulator runtime once.

Start from a prompt

Tap one to open it in Apirex. Edit it before you send.

Swift + SwiftUI: an AI iOS app builder with a real Xcode project

Apirex produces native iPhone source, not a website inside a mobile shell. Your project contains Swift files and SwiftUI screens that you can open in Xcode.

Start with the journey someone will complete on a phone. For a booking app, that might mean choosing a service, selecting a time, checking the details and seeing a confirmation. Tell the builder which step comes first, what information each screen needs and where a Back action should lead.

Keep the brief specific about phone navigation and touch targets. Ask for clear labels, readable forms and a useful response when a list is empty. Describe application state too: whether a partly completed form should remain when someone returns, and what should happen after a failed action.

You receive source you can inspect and change rather than only a visual mockup. Native capabilities still need the appropriate permissions and testing on a physical device; a generated screen alone does not establish that a device feature works.

Live iOS Simulator preview inside the builder

The iPhone preview is the real app built and launched in Apple’s iOS Simulator on your Mac, then streamed into the builder. It lets you review the running phone workflow while requesting changes.

Test the central route before adding secondary screens. Move from the opening view to the main action, return to an earlier step and repeat the task with missing information. This makes navigation mistakes easier to describe than a general request to make the app feel better.

Visual edits are available for iPhone previews, and you can also explain changes in chat. A useful request identifies the screen, the current behavior and the intended result, such as keeping a confirmation button visible when the form contains an error.

The builder compiles or checks its work before reporting completion. That check is a starting point for your review, not a substitute for testing permissions, device behavior and the full user journey. Changes can be reverted from history if a revision moves the app in the wrong direction.

Requirements: a Mac with Xcode

A Mac with Xcode is needed for iPhone builds and the iOS Simulator preview. First-time Xcode and Simulator setup is large, around 20 GB, and the helper checks disk space before setup.

Run the private one-time connection command for this project in a terminal on your Mac. It installs Apirex Local Agent, the helper that works with the local project; leave that terminal open while building. The installer checks for Node.js 18 or later and downloads a private copy if it is missing.

Keep local Apple setup approvals on your Mac and check the Apple-platform eligibility shown in your account before starting. A Windows or Linux computer does not replace the Mac requirement for this iPhone workflow.

Source files and builds stay in an ordinary folder on your computer. AI tasks process relevant prompts, code, screenshots and results, while chat and project metadata are stored in your account. Local project storage therefore does not mean the builder works offline.

Backend, sign-in and payments for iOS

Connect your own Supabase project when the iPhone app needs accounts, shared records or uploads. Its Postgres database, sign-in, storage, server functions and secrets can be managed from the Backend tab.

Define access before adding more screens. In a booking service, a customer might need only their own appointments while a staff member needs a different view. Explain who may read, create and change each kind of record, and test those boundaries with separate accounts.

Apirex can help implement Stripe or Razorpay checkout using your merchant account, with prices and orders verified on the server. Digital goods in native apps may require Apple In-App Purchase, so do not assume that a general checkout flow is suitable for every sale.

Private service keys belong in backend secrets, never in Swift files shipped with the app. Treat payment configuration, account permissions and failed network requests as parts of the workflow to review, not details to postpone until submission.

From preview to App Store: you submit

You handle signing and App Store submission with your own developer account. Apirex does not sign in to App Store Connect or submit the app on your behalf.

Apple Developer Program membership is needed for App Store distribution and TestFlight. A free Apple ID allows Simulator use and seven-day personal device installs, which is different from making the app available to customers.

Before preparing a release, test on an actual iPhone and review the permissions the app requests. Check forms, account access and any purchases using realistic cases, including cancellation and failure. You also control the store listing and the materials you provide for review.

A local build that passes compilation is not App Store approval. Keep time in your release plan for your own review, signing work and submission rather than treating the Simulator preview as the final shipping step.

Plan your Apple setup and release

Use the related Apple pages to check the build environment and understand the preview before starting. The publishing guide covers the next stage, where signing and submission remain your responsibility.

Frequently asked questions

Do I need a Mac?
Yes, you need a Mac with Xcode for both iPhone builds and the iOS Simulator preview. Allow space for the initial Apple tools and complete the local setup approvals on that Mac.
Is it SwiftUI or UIKit?
Apirex generates Swift and SwiftUI for iPhone apps. The result is an editable Xcode project, not a React Native, Flutter or WebView project.
Can I see the app running while it builds?
You can review the built app through the iOS Simulator streamed from your Mac into the builder. Use that running preview to check each completed change; it is not a promise that every intermediate edit is already running.
Can I submit to the App Store?
You can prepare and submit the project through your own Apple developer account. You are responsible for signing, the listing and submission, and Apple decides the review outcome.
Can one backend serve iOS and Android?
Separate iPhone and Android projects can connect to the same backend. Their Swift and Kotlin source remains separate, with no automatic synchronization between the two apps.

Start with one iPhone journey

Describe a phone-sized journey and start exploring it with free daily Rex Credits.

iOS
iOSSwift · SwiftUIReal source on your computer

Opens Apirex with this prompt. Pick the iOS · Swift tab before you send. The Free plan includes 5 Rex Credits a day.