News for hackers. Stuff that matters.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by LASR on Saturday February 12, 2022 @06:45PM (#30317542)
This is interesting from a product angle. Apple has historically not supported running macOS on VMs very well.

A few years back I built the vm infrastructure for a CI/CD platform for iOS and macOS app developers. It wasn’t easy to do this in a technically and legally well supported manner.

Why is Apple supporting this use case?

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by headass on Saturday February 12, 2022 @06:57PM (#30317635)
i mean it’s been pretty easy to run macos vm’s on macos hardware for ages either with ESXi or with parallels
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by smoldesu on Saturday February 12, 2022 @09:34PM (#30318571)
I mean, screw that; it's been possible to make Mac VMs on arbitrary hardware for decades with commercial software, and QEMU has been capable of it for a number of years now. That's before we even get into Hackintosh, too. Pretty much the only issue is iCloud support, which can be spoofed with a little bit of plist editing.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by yowlingcat on Sunday February 13, 2022 @02:43AM (#30320024)
> Pretty much the only issue is iCloud support, which can be spoofed with a little bit of plist editing.

Interesting -- any more documentation around this to take a look at?

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by smoldesu on Sunday February 13, 2022 @12:11PM (#30323305)
Sure: https://victorgamer0720yt.gitbook.io/hackintosh-imessage-fix...

It's a bit of a hassle, but I got mine to work in less than an hour. Apparently there's now mitigation that could require you to call Apple support, but I never ran into that when I was on Mojave.

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by theThreeTuples on Sunday February 13, 2022 @10:02AM (#30322110)
I built something similar a couple of years back using Anka. I got the help of lawyers to help with some details but there were definitely cases where Apple’s non explicit stance (until recently) makes you stop and think. https://www.filip.dev/posts/veertu-interview/
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by musicale on Saturday February 12, 2022 @07:21PM (#30317767)
Doesn't github actions support xcode builds for macOS and iOS?

There are also several macOS cloud service providers - including Amazon/AWS, which even has M1 instances.

I expect the secret that makes it easy and license-compliant is running on Apple hardware (presumably Mac mini.)

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by saagarjha on Saturday February 12, 2022 @08:10PM (#30318081)
GitHub Actions has a special agreement with Apple that allows them to not have to follow the terms of the macOS EULA.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by musicale on Saturday February 12, 2022 @08:42PM (#30318295)
Do you have a reference for Apple granting a special macOS license to GitHub/Microsoft? Edit: apparently it's under NDA.

What about AWS, Macstadium, etc.?

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by saagarjha on Saturday February 12, 2022 @08:45PM (#30318307)
As far as I am aware, they get no special exemptions, and offer Mac minis with 24-hour minimum renting terms.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by calypso on Saturday February 12, 2022 @08:18PM (#30318148)
Mac stadium is a large Ci/CD provider for macOS. They rack mount iMac Pro’s and Mac minis.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by electroly on Saturday February 12, 2022 @10:06PM (#30318737)
AWS's Mac instances aren't VMs; they are dedicated machines. I could swear I read that GitHub uses MacStadium for the Mac runners, which is also dedicated machines, but I can't find any documentation that supports that claim.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by thoughtsimple on Saturday February 12, 2022 @06:51PM (#30317587)
That’s not true. VMWare has worked well for years. I used on my Intel Macs for years.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by ForOldHack on Saturday February 12, 2022 @07:40PM (#30317891)
It is true, and its well documented:

"The OS X EULA does allow for OS X to be virtualized on Apple hardware as both host and guest. This is why (as you note) VMware Workstation does not support OS X virtualization, but Fusion, ESXi, and vSphere do. All versions of VMware's apps check to ensure that you are running on Apple hardware and you are running a supported OS (as not all versions of OS X allow virtualization)."

I am trying to get Snow Leopard+Rosetta virtualized under Mac OS 10.10 Yosemite, as well as get Mac OS 10.8 Lion to run under Snow Leopard ( software requirements, and supporting PowerMac application, Freehand ).

Its a total complete uphill battle, that apple does not want to happen:

"You are completely correct that the EULAs are unclear about the question of running 3+ OS X VMs on a single OS X host. This is a legal question, and not a technical one. For that matter, so is the limitation about which versions of OS X can be virtualized (ex: 10.6 virtualization requires the Server edition, and all VMware applications block you from virtualizing the Standard edition)."

So, it actually is true, and there is proof in VMWare's documentation.

Shall I quote that too?

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by djrogers on Saturday February 12, 2022 @10:24PM (#30318854)
You’re saying that ‘traditionally’ Apple hasn’t supported this, but your examples are 10+ years old. Apple has been supporting virtualization of macOS for quite a while now, both with their own frameworks (hypervisor previously, now Virt framework) and 3rd party hypervisors.

It’s true that “once upon a time” it wasn’t supported, but those days are long past.

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by ForOldHack on Sunday February 13, 2022 @12:40AM (#30319563)
Traditionally Apple has supported it when it shipped hardware: Apple ][ to 68K (1991), 68k to PPC (1994), PPC to Intel(2006), and Now Intel to Mx(2020), but a few years after, its not a feature. 6 years, is 4 generations, like 100 human years. Why are the Classic and PowerPC emulators so popular? People want them.

I had someone bring in a Franklin Ace Apple II clone. There are Apple ][ emulators too. Not just for nostalgia, but for applications that are no longer supported or being developed.

I can run DOS on a Core II duo after 40 years.

My point is Apple emulation is only profitable when selling hardware, don't even think its nifty, when its dumped like old fish.

Re:Running macOS in a Virtual Machine on Apple Silicon Macs by plorkyeran on Saturday February 12, 2022 @09:52PM (#30318675)
Old versions of macOS requiring the server version for use inside a VM was dumb, but there's nothing technically or legally difficult about satisfying that requirement.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by ForOldHack on Saturday February 12, 2022 @09:55PM (#30318693)
Dumb or not. How do I get Rosetta to run on SLS? Snow Leopard Server? under Fusion w/ Yosemite as the hypervisor? I need to run Freehand PPC.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by mrpippy on Sunday February 13, 2022 @04:37AM (#30320530)
It works totally fine, the hardest part is finding a (legal) copy of SLS (if you care about that). I run CodeWarrior on SLS on top of Fusion on Mojave.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by saagarjha on Saturday February 12, 2022 @08:11PM (#30318087)
FWIW, Virtualization attempts to enforce this limit internally.
Re:Running macOS in a Virtual Machine on Apple Silicon Macs by riffic on Saturday February 12, 2022 @07:37PM (#30317868)
CI/CD would be my guess, lol.