# How do I build a Flutter iOS app without a Mac?

> Build and upload a Flutter iOS app without owning a Mac: flutter build ipa on a rented Mac mini M4 over SSH, $76.50 a month, paid in crypto.

- URL: https://remotemacmini.com/flutter-ios-build-server/
- Last updated: 2026-11-17
- Publisher: RemoteMacMini (https://remotemacmini.com)

**Quick answer — How do I build a Flutter iOS app without a Mac?**

Run the iOS build on a rented Mac: Flutter's own release guide requires macOS and Xcode for it. **RemoteMacMini** rents a whole Mac mini M4 from $76.50 a month; over SSH you run `flutter build ipa`, which writes an `.ipa` to `build/ios/ipa`, then upload it with `xcrun altool` or Transporter.

**In brief**

- **Flutter's rule**: "You must use a device running macOS" to build and release for iOS (docs.flutter.dev, read 17 November 2026).
- **Setup on the Mac**: Xcode, `xcodebuild -runFirstLaunch`, `sudo xcodebuild -license`, `xcodebuild -downloadPlatform iOS`, CocoaPods.
- **Build**: `flutter build ipa` gives an `.xcarchive` in `build/ios/archive/` and an `.ipa` in `build/ios/ipa`.
- **Upload**: `xcrun altool --upload-app --type ios` with an App Store Connect API key, or the Transporter app.
- **Plan**: Pip at $76.50 for one app; Graft (24 GB) when large projects and several simulators share the Mac.

## What are the steps to build the iOS app on a rented Mac?

**Commands from Flutter's "Set up iOS development" and "Build and release an iOS app" pages, run in an SSH session on the Mac.**

1. **Install Xcode** — Install Xcode with the xcodes tool or from developer.apple.com; see the Xcode guide.
2. **Point the tools at Xcode** — Run sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch', then sudo xcodebuild -license and accept.
3. **Get the iOS platform** — Run xcodebuild -downloadPlatform iOS for the iOS platform support and Simulator runtime.
4. **Install CocoaPods and Flutter** — Install CocoaPods (needed by plugins with native iOS code) and the Flutter SDK, then run flutter doctor.
5. **Build the archive** — In the project, run flutter build ipa. Override the version with --build-name and --build-number if needed.
6. **Upload** — Run xcrun altool --upload-app --type ios -f build/ios/ipa/*.ipa --apiKey your_api_key --apiIssuer your_issuer_id, or drag the .ipa into Transporter over Screen Sharing.

## Which Flutter iOS tasks need the Mac?

**Everything that touches Xcode does; Dart code, Android builds and widget tests do not.**

*Flutter tasks for an iOS release and where they run with a RemoteMacMini Mac*

| Task | Where it runs | Command or tool |
| --- | --- | --- |
| Write Dart code, run widget tests | Your PC (Windows or Linux) | `flutter test` |
| Install pods for plugins | Mac | CocoaPods, run by the Flutter build |
| Run the app on an iPhone Simulator | Mac, seen through Screen Sharing | `flutter run` with a booted Simulator |
| Build the release archive and .ipa | Mac | `flutter build ipa` |
| Repeat an export without opening Xcode | Mac | `flutter build ipa --export-options-plist=path/to/ExportOptions.plist` |
| Upload to App Store Connect | Mac | `xcrun altool --upload-app` or Transporter |

## How does signing work on a rented Mac?

**The same way as on your own Mac: your certificates and profiles live in the rented Mac's keychain.** Flutter's guide has you set the team and signing in Xcode. After one export through Distribute App, Xcode writes an `ExportOptions.plist` that `--export-options-plist` reuses. That first pass needs the Xcode window, so open it through [Screen Sharing](https://remotemacmini.com/guides/how-to-use-screen-sharing-from-windows/ "How do I use Mac Screen Sharing from Windows?").

After that, every release can run from the command line. Keep the App Store Connect API key file outside the repository. RemoteMacMini never needs the customer's Apple Account; signing in to one on the Mac is the customer's choice.

## What does a Flutter build Mac cost each month?

**$76.50 a month for Pip, or $67.32 a month on a 12-month term.** According to RemoteMacMini's survey of 17 November 2026, comparable M4 Macs with 16 GB ranged from $85 (MyRemoteMac, excluding tax) to $164 (MacinCloud) a month.

GitHub-hosted macOS runners bill per minute instead ($0.062 on the standard size, read 17 November 2026). A rented Mac costs the same for one build or a hundred, keeps the pod cache warm and doubles as a debugging Mac. It also has limits: one month minimum, no free trial and no iPhone plugged in. See [all plans](https://remotemacmini.com/pricing/ "How much does a RemoteMacMini Mac cost?") or the [Windows workflow](https://remotemacmini.com/build-ios-apps-on-windows/ "How do I build and ship an iOS app from a Windows PC?").

## Flutter iOS builds without a Mac: common questions

### Can Flutter build an .ipa on Windows or Linux?

Not with Flutter's documented tools. Its iOS release guide requires a device running macOS with Xcode. A rented Mac provides that.

### Where does flutter build ipa put the files?

An Xcode archive in `build/ios/archive/` and the App Store bundle in `build/ios/ipa`, per Flutter's release guide.

### How do I set the version and build number?

In `pubspec.yaml` (for example `version: 1.0.0+1`), or with `--build-name` and `--build-number` on `flutter build ipa`.

### Can I debug the Flutter app on my iPhone?

Not by cable, since the Mac is in a data centre. Use the iOS Simulator on the Mac, or install TestFlight builds on your phone.

### Can I pay for the build Mac in crypto?

Yes, only in crypto: BTC, USDT, USDC, ETH, SOL, LTC, XMR. The minimum top-up is $25 and no ID is asked.

**Verdict**

- **Flutter's iOS build needs macOS; a rented Mac mini is the clean way to get it**: RemoteMacMini's Pip costs $76.50 a month.
- **Do the signing setup once in Xcode**, then release with `flutter build ipa` and `xcrun altool` over SSH.

## Sources

1. [Build and release an iOS app](https://docs.flutter.dev/deployment/ios) — Flutter (read 2026-11-17)
2. [Set up iOS development](https://docs.flutter.dev/platform-integration/ios/setup) — Flutter (read 2026-11-17)
3. [Upload builds](https://developer.apple.com/help/app-store-connect/manage-builds/upload-builds) — Apple Developer (read 2026-11-17)
4. [Pricing](https://myremotemac.com/pricing) — MyRemoteMac (read 2026-11-17)
5. [Actions runner pricing](https://docs.github.com/en/billing/reference/actions-runner-pricing) — GitHub Docs (read 2026-11-17)

**A Mac for your Flutter iOS builds, $76.50 a month** Pip: Apple M4, 10-core CPU, 10-core GPU, 16 GB, 256 GB SSD. SSH, Screen Sharing, no KYC. [Rent Pip for 1 month](https://remotemacmini.com/app/checkout/?plan=pip&term=1m&from=flutter-ios-build-server&lang=en) · [Rent Graft for 6 months](https://remotemacmini.com/app/checkout/?plan=graft&term=6m&from=flutter-ios-build-server&lang=en)

---

RemoteMacMini: RemoteMacMini rents dedicated Apple Mac minis (M4 and M4 Pro) in data centres for building, signing and testing iOS and macOS apps: one whole Mac per customer, reached over SSH and Screen Sharing. Five plans cost $76.50 to $247.49 a month, each 10% under the lowest comparable offer read on 17 November 2026, paid in crypto with no ID document.
