每当我尝试运行任何项目.xcodeproj
或.xcworkspace
项目时,Xcode 都会不断崩溃。我尝试过的解决方案是:重新安装 Xcode、删除派生数据和删除 xcuserstate 文件夹。Xcode 不断失败并出现以下错误:
Process: Xcode [7099]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.4 (17801)
Build Info: IDEFrameworks-17801000000000000~7 (12D4e)
App Item ID: 497799835
App External ID: 839994694
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7099]
User ID: 501
Date/Time: 2021-03-13 11:03:31.401 +0100
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Anonymous UUID: 007E7CE0-17B1-C3EF-5191-4E8908451B4E
Sleep/Wake UUID: 310A38F4-3A1F-4C76-8D12-A255873336E7
Time Awake Since Boot: 28000 seconds
Time Since Wake: 570 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12D4e
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17801/IDEKit/Workspace/IDEWorkspaceDocument.m:3270
Details: (tabController) should not be nil.
Object: <IDEWorkspaceDocument: 0x7fa04eecbff0>
Method: -commitStateToDictionary:
Thread: <NSThread: 0x7fa045904c20>{number = 1, name = main}
Open FDs: 41/7168
Hints: