There is a bug in Apple’s hypervisor framework that can cause issues in virtualized environments like ours. The issue can occur whenever a simulator is launched: for example, our Xcode Test for iOS Step uses an iOS simulator to run tests. Once the simulator starts, your build can hang indefinitely. The issue has already been reported to Apple, under the following ID: FB10015465.
In order to confirm that you are having this issue, we recommend running the following command:sudo dmesg
You might see a similar error:
[10090.671982]: Trying to restart GPU (Undefined)...
[10090.671990]: stalling for detach from AppleParavirtGPU
[10090.674754]: virtual void IOGPUScheduler::progressTimerCheckInterrupt(): GPURestartEnd stamp[idx:1, 11366144] type=0
[10090.674799]: virtual void IOGPUScheduler::progressTimerCheckInterrupt(): command timeout detected - GPU start time 10006873 ms, now 10090674 ms, priority=0
[10090.674806]: virtual void IOGPUScheduler::progressTimerCheckInterrupt(): GPURestartBegin stamp[idx:1, 11366144] type=2
[10090.674864]: GPU hang: AppleParavirtGPU HardwareDiagnosisReport (BEGIN)
If you encounter this issue, please vote here so we can better see its impact. Thank you!