KhaosT/MacVM

macOS Ventura VM Support

moyitpro opened this issue · 4 comments

I have a developer account and wanted to try to create a VM with the macOS Ventura support with the ipsw. It doesn't seem to do anything as the install process is stuck at 0%.

Also noticed that nothing is written to the image file either.

0+0 records in
0+0 records out
0 bytes transferred in 0.000006 secs (0 bytes/sec)

Is it because I'm running macOS Monterey and creating and running a Ventura VM requires me to also run the same OS? I don't want to do that since of compatibility issues and I kind of want to try to run it in a VM first. Anyone experiencing the same issue?

It's working for me. It will stuck at 0% for about a minute (talking with Apple to do the VM personalization stuff) then it moves forward fine.

Still having the same issue

2022-06-06_18-28-28.mp4

2022-06-06 18:27:33.118256-0400 MacVM[17022:630450] [default] Failed to get state for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied}
2022-06-06 18:27:45.244557-0400 MacVM[17022:630795] [default] Failed to get state for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied}
2022-06-06 18:27:45.247387-0400 MacVM[17022:630795] [default] Insert failed for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied}
2022-06-06 18:27:46.594045-0400 MacVM[17022:629803] Metal API Validation Enabled
2022-06-06 18:28:01.871129-0400 MacVM[17022:630795] [logging-persist] cannot open file at line 45530 of [9ff244ce07]
2022-06-06 18:28:01.872425-0400 MacVM[17022:630795] [logging-persist] os_unix.c:45530: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
0+0 records in
0+0 records out
0 bytes transferred in 0.000007 secs (0 bytes/sec)
2022-06-06 18:29:31.101400-0400 MacVM[17022:629803] Error: Error Domain=VZErrorDomain Code=1 "Installation failed." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=Installation failed., NSUnderlyingError=0x600000aa0c90 {Error Domain=VZErrorDomain Code=1 "(null)"}}
0+0 records in
0+0 records out
0 bytes transferred in 0.000007 secs (0 bytes/sec)
2022-06-06 18:30:48.721629-0400 MacVM[17022:629803] Error: Error Domain=VZErrorDomain Code=1 "Installation failed." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=Installation failed., NSUnderlyingError=0x600000aba310 {Error Domain=VZErrorDomain Code=1 "(null)"}}

You need to recompile and use Xcode 14 Beta. At least that helped in my case.

You need to recompile and use Xcode 14 Beta. At least that helped in my case.
2022-06-06_21-17-03

It appeared that this did the trick as the VM managed to create after recompiling it with Xcode 14.