Blog· What you can do with your Mac mini·

Capacitor iOS app without a Mac: build, test and ship it from Windows

Turn your web app into an iOS app with Capacitor while you work on Windows: add the iOS platform, run the Simulator, sign and upload to the App Store from a cloud Mac mini.

A large violet browser window floating above a compact silver mini desktop computer, with a white smartphone coming out of it

Capacitor is the shortest road from a web app to the App Store. You keep your React, Vue, Angular or plain JavaScript code, Capacitor wraps it in a native shell, and the same project becomes an Android app and an iOS app. On Windows, the Android half works on your own PC. The iOS half needs macOS: Capacitor’s own documentation says so, because the iOS project is built and signed with Xcode, and Xcode only runs on a Mac.

You don’t need to buy one. This guide shows the whole flow with your code on Windows and the iOS steps on a dedicated Mac mini in the cloud: adding the iOS platform, running the app in the iOS Simulator, signing it and uploading it to App Store Connect.

What you need before you start

  • A Capacitor project, or a web app that builds to a folder. Capacitor needs a package.json, a build output folder such as dist, build or www, and an index.html at the root of that folder.
  • Your code in a Git repository (GitHub, GitLab, Bitbucket or your own). It is the easiest way to move the project between your PC and the Mac.
  • A paid Apple Developer Program membership to upload to the App Store and TestFlight. You can run the app in the Simulator without it.
  • A cloud Mac. A SoloRack Mac mini M6 comes with 16 GB of memory, a 256 GB SSD, a 1 Gbit/s connection and your own macOS administrator account. Node.js, Python and VSCodium are already installed, so the JavaScript side of Capacitor works from the first login.

Capacitor 8, the current major version, asks for Node.js 22 or newer and Xcode 26 or newer. The Node.js already on the Mac is newer than that, and you install the current Xcode yourself.

Step 1: get the project ready on Windows

Do the work that doesn’t need a Mac on your PC, as you do today. If Capacitor isn’t in the project yet, add it from the project folder:

npm i @capacitor/core
npm i -D @capacitor/cli
npx cap init

npx cap init asks for the app name and the app ID, a reverse domain such as com.yourcompany.yourapp. Choose the app ID carefully: it becomes the bundle identifier of the iOS app, and you’ll register the same one in App Store Connect.

Open the Capacitor config file it creates and check webDir. It must point to the folder your build writes to, for example dist for Vite. A wrong webDir is the most common reason the iOS app opens on a blank screen.

Commit and push. You can keep working on Android in Android Studio on your PC: nothing in this guide changes that.

Step 2: prepare the Mac

Connect to your Mac with the remote desktop app, using the details in My account. The first time, install the tools Apple asks you to install with your own Apple Account:

  1. Install Xcode from the App Store or from the Apple Developer website, signing in with your Apple Account. Open it once and let it finish installing its components, including the iOS platform for the Simulator.
  2. Install the command line tools, which also give you Git, from Terminal:
xcode-select --install

That’s all Capacitor needs. Node.js and npm are already there; check with node -v if you like. You don’t need any global npm package: every Capacitor command below runs through npx from the project folder.

If you prefer the terminal, you can do the rest over SSH from Windows. My account shows your command, which looks like ssh -p <port> <user>@connect.solorack.com, once you’ve added your public SSH key there. The Simulator and the signing step are easier with the remote desktop, so keep that window at hand.

Step 3: add the iOS platform

Clone the project, install its packages and build the web part:

git clone https://github.com/your-account/your-app.git
cd your-app
npm install
npm run build

Then add iOS:

npm i @capacitor/ios
npx cap add ios
npx cap sync ios

npx cap add ios creates the ios folder with the native Xcode project. Since Capacitor 8, new iOS projects use Swift Package Manager for native dependencies, so there’s nothing else to install. If your project was created with an older Capacitor and uses CocoaPods, you’ll need CocoaPods on the Mac; install Homebrew first, then brew install cocoapods.

npx cap sync ios copies your built web files into the native project and updates the plugins. Run it after every web build. Commit the new ios folder and push it, so the native project lives in your repository too.

Step 4: run it in the iOS Simulator

Capacitor can start the Simulator for you:

npx cap run ios --list
npx cap run ios

The first command lists the available simulators and devices; the second asks which one to use, builds the app and opens it. The iOS Simulator window appears on the Mac’s screen, inside your remote desktop session, and you click through the app as on an iPhone.

This is where you catch the iOS-only problems before your users do: the safe areas around the notch and the home indicator, the keyboard pushing the layout up, permission prompts for the camera or location, links that open outside the app. Each plugin you use has its own iOS notes, such as usage descriptions in Info.plist, and the Simulator shows you quickly when one is missing.

To see the app on your own iPhone, the simplest path is TestFlight, in step 6.

Step 5: a quick loop between Windows and the Mac

You don’t have to move your whole workflow to the Mac. A comfortable loop is:

  1. Edit the code on Windows, test the web version in your browser, push.
  2. On the Mac, in the project folder:
git pull
npm install
npm run build
npx cap sync ios
npx cap run ios

Over SSH, the first four commands run without opening the remote desktop; open it only to look at the Simulator. If you’d rather edit on the Mac, open the folder in VSCodium, which is already installed.

Step 6: sign the app and upload it to App Store Connect

Open the native project in Xcode:

npx cap open ios

Then, in Xcode:

  1. Add your developer account. Xcode, Settings, Accounts: add the Apple Account that has your Apple Developer Program membership.
  2. Set up signing. Select the App target, open Signing & Capabilities, tick Automatically manage signing and choose your team. Check that the bundle identifier is the app ID you chose in step 1.
  3. Create the app record. In App Store Connect, add a new app with the same bundle identifier, the name, the primary language and the SKU.
  4. Set the version. In the General tab, set the version (for example 1.0.0) and the build number. Each upload needs a higher build number.
  5. Archive. Choose Any iOS Device as the destination, then Product, Archive. When the build finishes, the Organizer window opens.
  6. Upload. In the Organizer, choose Distribute App, then App Store Connect, and follow the steps. Xcode signs the build and sends it to Apple.

After Apple finishes processing the build, it shows up in TestFlight. Install the TestFlight app on your iPhone, add yourself as a tester and try the real app on the real device. When you’re happy, add the screenshots, the description and the privacy details in App Store Connect, pick the build and submit it for review.

Our guide on uploading an app to the App Store without a Mac covers the App Store Connect side in more detail.

Keep your signing identity safe

Your distribution certificate and its private key live in the Mac’s keychain. Before your rental ends, export them so you can sign future builds on any Mac: open Keychain Access, find your Apple Distribution certificate, and export it as a .p12 file with a password. Download it, together with any project files you changed only on the Mac. At the end of a rental, your macOS account and all its files are deleted, with no copy kept, and our reminders tell you in time to save what you need.

Which plan fits a Capacitor project

  • Your first iOS release is usually a few focused days: install Xcode, add the platform, fix the iOS details, upload, answer the review. A 7-day pass covers that sprint.
  • An app you keep updating needs a Mac every time you ship a new version or a new plugin. The monthly plan keeps the same Mac, with Xcode and your project already set up, ready whenever you are.
  • A single upload of an app that is already finished fits the 24-hour pass, made for exactly that.

Plans and passes renew on their own until you turn renewal off in My account. After a restart, even one you start from My account, the Mac goes back to your session by itself.

If you also work with other cross-platform tools, the same approach works for Flutter and React Native, and our guide to the iOS Simulator on Windows explains testing in more depth.

Ship your Capacitor app to iOS this week

You already have the hard part: a working web app. What’s missing is a Mac for an afternoon of setup and an upload, and then whenever you release an update. Rent a dedicated Mac mini M6 from SoloRack, from $3.73 a day on the monthly plan ($112 a month), with your own admin account, remote desktop and SSH. See the plans on our pricing page and have your Capacitor app running in the iOS Simulator today.

Try SoloRack from ⁦$3.73⁩ a day

A dedicated Mac mini M6 on the monthly plan: ⁦$112⁩ a month. Prices in US dollars, VAT included where it applies.

Before you pay

The email you enter on the payment page becomes your account: you sign in to My account with that same address.

Payment is handled by Stripe through Link, its payment service: the payment page shows Link's name, and your bank statement will show LINK.COM* SOLORACK.

They show us how the site is used, including recordings of your visit; what you type stays hidden (PostHog, Google Analytics). These tools use cookies and start only if you say yes. You can change your mind at any time from the bottom of the page. If you say no to statistics, we only count your visit, without cookies. Cookie policy