Xcode 10.0 Simulator error “Mach error -308 - (ipc/mig) server died”

為{幸葍}努か 提交于 2020-08-26 07:01:13

问题


Xcode Simulator won't boot. After running the project the simulator does not boot and the load bar is stuck at the end. Also it shows this error after I closed the simulator showing this error

 The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)

Any help is appreciated!


回答1:


8 months ago the answer. This problem occurs when you install an alternative Xcode version like betas or previous versions. To solve this problem you need reinstall Xcode command line tools.

As there is no reinstall option in xcode-select command you need to remove the current command line tools as bellow:

sudo rm -rf /Library/Developer/CommandLineTools

Verify if xcode-select is the right path

xcode-select -p

The output is similar to:

/Applications/Xcode.app/Contents/Developer

Reinstall the command line tools

sudo xcode-select --install

Now you need to reboot the system.

After reboot your system you need to launch the Xcode. Son after the Xcode additional components will appear.

After concluding the installation your simulator works right.



来源:https://stackoverflow.com/questions/53115570/xcode-10-0-simulator-error-mach-error-308-ipc-mig-server-died

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!