Need help setting up macOS virtual machine

I have an upcoming interview for a position developing iOS apps using SwiftUI, but I don't have experience programming for SwiftUI (my prior experience was in ReactNative) and don't own any Apple devices so I can't use Xcode to practice. I have tried setting up Oracle VirtualBox on my PC with Windows10 to run Mac OS v12.01 Monterey (64-bit) several times with different settings, but every time I start it up, it gets stuck on the following lines:

  • ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
  • ApplePC::notifyPlatformASPM - registering with plugin with ASPM Support false
  • AppleKeyStore: 7492:109: unexpected session: 100000 uid: -1 requested by: 109
  • AppleKeyStore: 11150:109: operation failed (sel: 7 ret: e00002c2, -1, 100000)
  • IOConsoleUsers: time(0) 0->0, lin 0, lik 1,
  • IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0

I admittedly don't have much experience with VirtualBox or MacOS, and any time I've tried to search for these specific messages I come up empty. Is there any way of getting this virtual mac running to the point where I can start using Xcode, or am I just out of luck?

7 points · 9 comments · view on lemmy.world

9 Comments

just_another_person@lemmy.world · 2 pts · 1y (4 replies)

They have compilers and tool chains for Linux/Win as well if you're just strictly talking about being able to develop on Swift: https://www.swift.org/install/linux/

mr_account@lemmy.world · 1 pts · 1y (3 replies)

Unfortunately I also need SwiftUI, which seems to only want to run in Xcode on a Mac. Virtual machines appear to be the only workaround for it that I've seen.

just_another_person@lemmy.world · 2 pts · 1y (2 replies)

Well I just tried this for fun, and it still works for me: https://www.heatware.net/macos/how-to-install-macos-on-virtualbox/#Step-by-Step_Installation_Guide

Make sure you don't skip any steps.

mr_account@lemmy.world · 1 pts · 1y (1 reply)

This method has gotten a bit further than I was, but hit a snag on the OS installation. Could I ask what iso version(s) you used?

not3ottersinacoat@lemmy.ca · 2 pts · 1y

Perhaps quickemu could help? https://github.com/quickemu-project/quickemu

It's really easy but you'd have to run it on Linux.

fjordo@feddit.uk · 2 pts · 1y

You may want to see if there's any hardware rental places near you. I've seen places that let you rent Apple hardware for fixed periods of time.

fuckwit_mcbumcrumble@lemmy.dbzer0.com · 1 pts · 1y (1 reply)

https://github.com/DrDonk/unlocker

It appears to be archived since 2023, but vmware unlocker should still work.

mr_account@lemmy.world · 1 pts · 1y

I'll give this a shot, ty!