我处理一些遗留代码,由于随机废弃的API而无法在SDK 10.5之后编译,所以我有充分的理由坚持使用旧的编译器。我一直在使用Xcode 4.6.3;我最近从OS X 10.7到10.9清理安装。
出现了一个新问题:Xcode在Run命令上可靠地崩溃。我可以很好地构建我的应用程序;如果我双击构建的产品,它们会成功运行。但如果我尝试直接从Xcode运行,Xcode会崩溃。应用程序的性质似乎并不重要;我已经尝试使用命令行和GUI应用程序。同一个结果。任何见解?
从崩溃报告中,如果有帮助:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4H1503
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFString alloc]: unrecognized selector sent to instance 0x400c22b60
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8f224244 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff91ebae75 objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff8f22712d -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff8f182272 ___forwarding___ (in CoreFoundation)
4 0x00007fff8f181df8 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x00000001107070a6 -[DBGLLDBDebugLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService)
6 0x0000000110707593 -[DBGLLDBRunLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService)
7 0x000000010b1bf8e7 -[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation)
8 0x000000010b1be557 -[IDELaunchSchemeAction