Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图打开较低版本的 Xcode,突然我的 Xcode 崩溃了,现在每当我打开任何 Xcode 版本时,我都会收到这个错误,上面写着“Xcode 意外退出”,有三个选项:忽略、报告和重新打开,但是仍然没有一个选项有效。
在过去 24 小时挠我的脑袋后,我终于找到了解决办法。我们可以使用以下代码行从命令提示符打开 Xcode:
1. cd / 2. sudo ls 3. cd Applications 4. sudo ls 5. cd Xcode.app 6. cd Contents/MacOS 7. ls 8. ./Xcode 9. sudo ./Xcode