How to build and test an iPhone app without a Mac
You can build a native SwiftUI iPhone app on Windows in 2026. How the cloud build and simulator work, how to install the app on your own iPhone over USB with OpenV2 Companion, Apple's free-account limits, and when you need the Apple Developer Program.
For years the first line of every iOS tutorial was "you need a Mac". Xcode only runs on macOS, and Xcode is what compiles a Swift app and signs it for a phone. That is still true. What has changed is where Xcode runs: it no longer has to be on your desk.
This guide shows the whole path on a Windows PC: writing a native SwiftUI app, running it in a simulator, installing it on your own iPhone, and what you need before the App Store.
What you need
- A Windows PC (64-bit) and a browser.
- An OpenV2 account. Every plan works, Free included (on Free, builds run within the one-time trial).
- An iPhone and a USB cable that carries data, not just charge.
- An Apple account. A free one is enough to test on your own phone.
You do not need a Mac, Xcode or a paid Apple Developer membership to build and test.
Step 1: describe the app
Start a project and describe the app in plain words, for example "A habit tracker with streaks and daily reminders." In Team mode, the AI team scopes it first and then Leo, the engineer, writes it in Swift and SwiftUI: a real native project, not a web page in a wrapper. See how the AI team builds your app.
Step 2: run it in the cloud simulator
Open the preview and press Turn on simulator. The app is compiled in the cloud and launched on an iPhone simulator that streams to your browser. You can tap through it, type, and ask for changes in the chat while it runs.
A few things to know:
- The simulator turns off after 3 minutes without interaction, so it does not keep running when you walk away.
- It uses your plan's usage while it runs. Turn it off when you are not testing.
- It covers iPhone, iPad and foldable layouts, which is a quick way to catch screens that only break on one size.
Step 3: install it on your own iPhone
A simulator is not a phone. To feel the real app, with real touch, sensors and performance, install it with OpenV2 Companion for Windows:
- Download Companion from the project's device menu (Get OpenV2 Companion) and open it.
- Sign in to OpenV2 in Companion, then to your Apple account. Your Apple password stays in Companion on your PC; never paste it into the chat.
- Connect the iPhone by USB, unlock it and tap Trust This Computer.
- On the iPhone, turn on Settings → Privacy & Security → Developer Mode, restart and confirm.
- In OpenV2, select your iPhone and choose Install on [your iPhone].
- If iOS asks, trust the developer in Settings → General → VPN & Device Management.
Companion signs the build on your PC with your Apple account, installs it over USB and tries to launch it. Installed means the app reached the phone; Running means it also launched. After that you can unplug the cable. Reinstalling the same project updates the app in place.
Apple's limits on a free account
A free Apple account is meant for personal testing, and Apple sets the limits:
| Resource | Free Apple account |
|---|---|
| Apps installed this way | Up to 3 per device |
| App IDs | Up to 10, expiring after 7 days |
| Devices | Up to 3, expiring after 7 days |
| Signing profiles | Expire 7 days after they are issued |
In practice: after seven days the test app stops opening. Reconnect the phone and install again. If iOS says you reached the three-app limit, remove one of your test apps first. The full details are in Apple account limits.
When you need the Apple Developer Program
Testing on your own phone is free. Distribution is not. To publish to the App Store or share builds through TestFlight, you need a paid Apple Developer Program membership (Apple sets the annual fee), App Store Connect access, and a Pro or Max plan on OpenV2. Apple reviews every app, and an upload is not an approval.
When you are ready, read how to publish an iPhone app to the App Store.
Common problems
| What you see | What to do |
|---|---|
| The iPhone only charges | Use a data cable or another USB port, unlock the phone, accept Trust |
| The iPhone is not detected | Check that Apple Devices on Windows can see it, then retry |
| Developer Mode is missing | Follow the message on Companion's Developer Mode row, then check Settings again |
| The app installs but will not open | Trust the developer in Settings and keep the phone online |
| The app stopped opening after a week | The free profile expired: reconnect and install again |
The short version
- Describe the app; OpenV2 writes it in Swift and SwiftUI.
- Test it in the cloud simulator in your browser.
- Install it on your iPhone from Windows with Companion and a free Apple account.
- Join the Apple Developer Program only when you want to publish.
Read more on the iOS app builder page or in the Companion for Windows guide.
Frequently asked questions
Can I build an iPhone app on Windows?
Yes. With OpenV2 the native Swift and SwiftUI app is compiled in the cloud, runs in a cloud simulator in your browser, and installs on your iPhone from Windows with OpenV2 Companion over USB.
Do I need a paid Apple Developer account to test on my iPhone?
No. A free Apple account can sign apps for personal testing, with Apple's limits: up to three apps per device and profiles that expire after seven days. You need the paid Apple Developer Program to publish.
Does installing on my iPhone need a paid OpenV2 plan?
No. Every OpenV2 plan can install on a real phone with Companion, Free included. Publishing to the App Store needs Pro or Max.
Is the app native or a web app?
Native. OpenV2 writes Swift and SwiftUI for iPhone and Kotlin for Android, as real projects you can open in Xcode or Android Studio.






