我刚刚从Xcode 5.0.2迁移到5.1.1而且我在应用程序打开时总是遇到异常而且我真的对它感到困惑,因为我没有&#39 ;不知道发生了什么,我需要用我的设备iphone 5s来测试那个版本的xcode。
这是我得到的例外:
Process: Xcode [7340]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1.1 (5085)
Build Info: IDEFrameworks-5085000000000000~10
App Item ID: 497799835
App External ID: 520942841
Code Type: X86-64 (Native)
Parent Process: launchd [333]
Responsible: Xcode [7340]
User ID: 501
Date/Time: 2014-07-15 19:28:54.658 +0200
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: 044342C4-F689-0487-D2A8-77FEE8704AB4
Sleep/Wake UUID: 0C4C242B-6F81-466E-A7E6-FF91D0887C3F
Crashed Thread: 0 Dispatch queue: IDESourceControlTree Change Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5B1008
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-5074/DVTFoundation/Protocols/DVTInvalidation.m:254
Details: <IDESourceControlRepository, 0x7fe39514ff20> was never invalidated.
答案 0 :(得分:1)
打开Xcode的首选项并删除“帐户”窗格中的所有存储库。
如果这还不够,您可能必须完全取消源代码管理。