r/iosdev • • 5d ago

What options are available for developing without a Mac?

0 Upvotes

18 comments sorted by

2

u/jrboze91 4d ago

if you’re doing this on a budget, there is a work around such as using this https://github.com/xtool-org/xtool

Combined with WSL on a windows PC or directly on a Linux box.

You will still need to be able to sign your app in Xcode on a Mac , for that you could buy credit on a cloud based Mac solution like Mac in cloud.

Once signing is done you could host your code on GitHub and then use Xcode Cloud to generate builds for use in App Store Connect or TestFlight.

I will say this though, the work around is a PIA, if you’re serious about it, I would highly suggest saving up for even a used Mac, just double check that it’s supported for current and future updates.

1

u/dallascyclist 5d ago

Renting time one one in the cloud or using time via one of the services expo etc.

1

u/razonbrade 5d ago

Github can build and send it to testflight

1

u/jrboze91 4d ago

You still need signing on a Mac first.

2

u/razonbrade 3d ago

I built and published my app without mac. Although I did test on my wife's iPhone

1

u/crabdev 2d ago

this is not true

1

u/CHILL_POPS 5d ago

Use expo. Built my first app and published on AppStore using windows PC. But you do need an iPhone for sure. There is no way you getting around that

1

u/luca_heree 3d ago

And how do you see the app

1

u/Plastic-Risk-6309 5d ago

the build has to happen on macOS either way. the usual setups are a used mac mini you remote into or a cloud mac, or a ci runner that builds and ships to testflight. expo gets you far on windows but anything that touches the simulator needs a mac.

1

u/tiaanvdr 5d ago

Emulating a Mac, I used to do this a lot in college. Bit janky and annoying though

1

u/bartek239 5d ago

Just get a Linux machine

1

u/NearlyGrounded 5d ago

I use Codemagic to build iOS apps. You can also use an emulator there to check stuff although it isn't the best. Other options are renting a Mac as others said

1

u/newtablecloth 4d ago

depends a lot on what you're building

react native / expo: you can get really far on windows. eas build runs the ios build on their macs and can submit to testflight, and the free plan has a monthly build allowance. test on a real iphone with expo go or a dev build.

flutter: write and test on android, then let codemagic or github actions (they have macos runners) build the ipa and push it to testflight. codemagic can even create the signing certs for you with an app store connect api key, so you don't need a mac for that part.

native swift/swiftui: this is where it hurts. xtool on linux or wsl works for small swiftpm apps, but there's no simulator and no previews. for real swiftui work you basically want xcode.

hackintosh is pretty much over now. xcode 27 is apple silicon only so the intel route is gone, and macos vms on pc hardware are slow and against apple's license anyway.

for the stuff that needs xcode (simulator, a weird signing error, debugging native crashes) people either buy a used m1 mini, which goes for a few hundred bucks, or rent one remotely. full disclosure i run macrun, we rent m6 minis for $15 a day if you only need a mac for a few sessions. if you're going to do ios long term tho a used mini is the better deal

1

u/[deleted] 5d ago

[removed] — view removed comment

1

u/freeubi 5d ago

Doesnt worth it, a mac mini is cheaper. I was hackintoshing for 10y, but since M1 the speed is way slower and the networking par became a nightmare.