每次打开 Xcode 时,我都会收到错误 Xcode 6.3.1 意外退出。直到昨晚,它都运行正常。我试过重启系统,但没有用。重新安装不是一种可行的方法,因为我已经下载了模拟器和文档。
Process: Xcode [1002]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.2 (6776)
Build Info: IDEFrameworks-6776000000000000~11
App Item ID: 497799835
App External ID: 811890240
Code Type: X86-64 (Native)
Parent Process: launchd [286]
Responsible: Xcode [1002]
User ID: 502
Date/Time: 2016-01-07 14:28:32.142 +0530
OS Version: Mac OS X 10.9.5 (13F1507)
Report Version: 11
Anonymous UUID: 4F4E9F72-50D5-A7A3-9513-6D05474ADF7E
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6C131e
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6760/DVTFoundation/Utilities/DVTLocale.m:192
Details: (rootLang) should not be nil.
Object: <DVTLocale: 0x7fcdf85378c0>
Method: -rootLanguage
Thread: <NSThread: 0x7fcdf340dac0>{name = (null), num = 1}
Hints: None
答案1
尝试禁用“源代码控制”。转到 Xcode > 偏好设置,在“源代码控制”选项卡中取消选中“启用源代码控制”。重新启动计算机,看看它是否能更好地工作。背景是,早期版本的 Xcode 中存在由源代码控制引起的已知问题,会导致崩溃。