KhaosT / MacVM

macOS VM for Apple Silicon using Virtualization API
Apache License 2.0
1.31k stars 95 forks source link

Trying to use MacVM with Monterey Beta 3 getting "unrecognized selector sent to instance" #2

Closed jamesdbailey closed 3 years ago

jamesdbailey commented 3 years ago

On Monterey Beta 3. When I try to install after setting the IPSW file I get:

-[VZMacOSInstaller initWithVirtualMachine:restoreImage:]: unrecognized selector sent to instance

VMInstance line 125.

Seems odd since the Swift to Obj-C bridge seems to be there. Not too expert at Swift though.

aaronraimist commented 3 years ago

It looks like this API changed in beta 3

iambenmitchell commented 3 years ago

It is a simple fix.

see my PR: #4

jamesdbailey commented 3 years ago

I'm dumb. I was still using the previous version of Xcode. No wonder I couldn't find the correct API.