"Installation service connection unexpectedly terminated" error
scheblein opened this issue · 1 comments
Host OS: Monterey Beta 9
Model: 13" Macbook Pro M1
Error message(s):
`2021-10-06 20:45:03.505441-0500 MacVM[22434:192301] Error: Error Domain=VZErrorDomain Code=1 "Installation service connection unexpectedly terminated." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=Installation service connection unexpectedly terminated.}
2021-10-06 20:45:08.688250-0500 MacVM[22434:192779] [logging-persist] cannot open file at line 45340 of [d24547a13b]
2021-10-06 20:45:08.688828-0500 MacVM[22434:192779] [logging-persist] os_unix.c:45340: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
`
Steps to reproduce:
- download and unzip cloned zip from github
- open xcodeproj
- clear signing (set team to "none", set signing certificate to "sign to run locally")
- run project
- create doc
- set cpu count, mem size, disk size
- save doc
- select downloaded ipsw (monterey beta 9)
- click install button
- notice error in xcode console
This error is still applicable in 12.0.1, but we have a workaround.
Upon investigation, we noticed that the "com.apple.Virtualization.Installation" process is crashing in its "com.apple.cfnetwork.cfnetworkagentclient" thread.
Workaround: Uncheck Automatic Proxy Configuration in the proxy tab of network preferences.
We noticed that another thread of the crashing process was "com.apple.libnetwork.pacResolution" which lead us to disabling proxies and finding that this "fixed it."
Since it's a bug in Apple's code, I will close this issue.