r/FlutterDev • u/Relevant_Case7916 • 17d ago
Discussion Windows devs building iOS apps: how do you actually deal with Xcode?
I build Flutter apps on a Windows PC, but every time I need an iOS build or have to debug on the iOS simulator, I’m forced onto a Mac. Remote desktop into a Mac (or a cloud Mac) always felt clunky: a whole second desktop, separate clipboard, alt-tabbing between two worlds.
So I built a prototype that streams individual Mac app windows onto the Windows desktop. Xcode and the iOS simulator show up as normal windows next to VS Code, in the taskbar, resizable. Your Mac just runs in the background.
Short demo: https://www.youtube.com/shorts/DwyKm9JisLw
Fellow Flutter devs on Windows: is this a real pain for you, or is your current iOS setup fine? What do you use right now?
7
u/MjnMixael 17d ago •
I'm way too lazy for that. Bought an iPhone. Build and ship to test flight with GitHub workflows. Test. Profit.
It's flutter, so the only things that generally need testing are features that touch hardware or native code. Test of the testing I do on Android.
2
u/gurselaksel 17d ago
codemagic :)
1
u/dmter 17d ago edited 17d ago
I use keyboard+mouse switcher usb hub with a button. buggy with display so it needs to be additionally switched between hdmi and dvi. to sync code gitea is used. to move files and texts I use single-script, no-deps python tool that serves web ui to exchange files and texts. also separate web ui with mcp tools to connect to local network llm can be launched on mac to solve mac specific build problems (for native stuff)
1
u/noobjaish 16d ago
By not building for Apple platforms.
Windows + Linux + Android only
1
u/BigBoetje 15d ago
Unused Mac we repurposed for development. Majority of development happens on Windows anyways with QA testing on iPhones. Only reason to use it right now is to handle the builds in XCode (soon to be replaced by a build pipeline in azure devops) and potentially debugging for iOS specifically if there is a need for it.
I have to use it so infrequently that it's not really an issue.
1
u/SoloRack-cloud 15d ago
The pain is real, but I'd split it in two, because only half of it needs a screen.
No Mac desktop needed: editing, pods, `flutter build ipa`, uploading to TestFlight. All of that works over SSH (VS Code Remote-SSH is fine against a Mac), so it stays in your normal Windows windows with your normal clipboard. One gotcha: over SSH the keychain is locked, so run `security unlock-keychain` before the build or codesign fails with a vague error.
Really needs pixels: the first signing setup in Xcode, the Simulator, and the occasional Xcode-only debugging. That's where the "second desktop" hurts, and it's exactly the part your prototype targets, so yes, I think it's a real problem.
Two things I'd want to know: how do you handle Cmd vs Ctrl shortcuts per window, and how does the Simulator feel when scrolling? That's usually where remote setups fall apart.
Disclosure: I work on a cloud Mac service (hence the username), so remote Mac workflows are what we deal with.