嗨我的一个项目和xcode 5.0.2有问题,xcode在每次尝试都崩溃了 打开项目。所有其他项目都运作良好。我尝试检查新版本的项目,重新安装xcode,以及来自stackoverflow的其他几个解决方案。有趣的是,这个项目在我的同事机器上工作正常,当我在同一台机器上切换到其他帐户时,它甚至可以工作。这是我的崩溃日志:
Process: Xcode [2390]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
App Item ID: 497799835
App External ID: 106632651
Code Type: X86-64 (Native)
Parent Process: launchd [169]
Responsible: Xcode [2390]
User ID: 501
Date/Time: 2013-11-28 10:11:41.238 +0100
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5A3005
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-3542/Framework/Classes/XML/DVTXMLUnarchiver.m:452
Details: Assertion failed: strcmp((const char *)xmlTextReaderConstName(xmlReader), elementNameCopy) == 0
Object: <DVTXMLUnarchiver: 0x7fdd2981e9f0>
Method: -decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:
Thread: <NSThread: 0x7fdd22c114c0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x00000001106e1ea8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010f46c7a5 _DVTAssertionHandler (in DVTFoundation)
2 0x000000010f46cad4 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000010f46ca82 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x000000010f40fc2e -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] (in DVTFoundation)
5 0x000000010f40ecb6 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] (in DVTFoundation)
6 0x000000010f40f9cb -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] (in DVTFoundation)
7 0x000000010f40ecb6 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] (in DVTFoundation)
8 0x000000010f40e874 -[DVTXMLUnarchiver _readAndReturnError:] (in DVTFoundation)
9 0x000000010f40e61e -[DVTXMLUnarchiver decodeWithRootObject:error:] (in DVTFoundation)
10 0x000000010fe46a09 -[IDEBreakpointBucket _decodeFromContainer:] (in IDEFoundation)
答案 0 :(得分:0)
您的项目似乎使用了一些版本控制git / svn。如果是,那么您可以按照以下步骤操作:
Xcdoe&gt;偏好&gt;源控制&gt;取消选中启用源 控制
可能对你没有帮助,但对某些人有帮助。