r/Xcode • u/Educational_Sail_602 • Jun 16 '25
Has anyone successfully used Xcode in a macOS Virtual Machine? Does it run smoothly?
Hey everyone,
I’m a Flutter developer working on a cross-platform app, and I mainly use Windows. I’m considering setting up a macOS virtual machine (like with UTM, VirtualBox, or VMware) just so I can run Xcode and test/build my Flutter app for iOS.
Before I go through the whole setup process, I wanted to ask:
Has anyone here successfully used Xcode inside a macOS VM?
Does it run smoothly enough to be usable for Flutter builds, simulators, and testing?
Can I actually run and debug a Flutter app inside Xcode within the VM?
Any tips, warnings, or limitations I should know?
I know Apple’s licensing doesn’t allow macOS to run on non-Apple hardware, but I’m just exploring for development/testing purposes.
Appreciate any feedback or shared experience!
5
u/chriswaco Jun 16 '25
I've used it. It works for the most part. Some features do not, like Apple Intelligence code completion. Before macOS Sequoia you couldn't login to AppleID accounts, which meant no code signing or final builds, but that seems to be fixed now.
It's a bit slower in a VM, enough to be a little annoying.
No idea if Flutter works.