为什么我打开一个项目时Xcode会崩溃?
我正在尝试使用最新版本的Xcode 5.0.2(今天更新)打开一个项目。由于某种原因,它崩溃了。我无法打开任何项目,它总是崩溃:( 崩溃报告是这样开始的(如果有帮助):为什么我打开一个项目时Xcode会崩溃?,xcode,macos,osx-mavericks,Xcode,Macos,Osx Mavericks,我正在尝试使用最新版本的Xcode 5.0.2(今天更新)打开一个项目。由于某种原因,它崩溃了。我无法打开任何项目,它总是崩溃:( 崩溃报告是这样开始的(如果有帮助): 进程:Xcode[1631] 路径:/Applications/Xcode.app/Contents/MacOS/Xcode 标识符:com.apple.dt.Xcode 版本:5.0.2(3335.32) 构建信息:IDEApplication-33350320000000000~4 应用程序项目ID:497799835 应用
进程:Xcode[1631]
路径:/Applications/Xcode.app/Contents/MacOS/Xcode
标识符:com.apple.dt.Xcode
版本:5.0.2(3335.32)
构建信息:IDEApplication-33350320000000000~4
应用程序项目ID:497799835
应用程序外部ID:106632651
代码类型:X86-64(本机)
父进程:已启动[133]
负责人:Xcode[1631]
用户ID:501
日期/时间:2013-11-12 18:14:14.782+0100
操作系统版本:Mac OS X 10.9(13A603)
报告版本:11
匿名UUID:041E96A2-1123-3287-3FF6-A3F30382FC69
睡眠/唤醒UUID:C6807823-3147-4602-B01F-A2A9E80B8259
崩溃线程:0调度队列:com.apple.main-Thread
异常类型:EXC_崩溃(SIGABRT)
异常代码:0x0000000000,0x0000000000000000
特定于应用程序的信息:
ProductBuildVersion:5A3005
/SourceCache/DVTFoundation/DVTFoundation-3542/Framework/Classes/FileTypes/DVTFileDataType.m:616中的断言失败
详细信息:stringRep应为非空字符串,但它为零
对象:
方法:+fileDataTypeFromStringRepresentation:
线程:{name=(null),num=1}
提示:无
回溯:
0 0x0000000102e69ea8-[IDEAssertionHandler handleFailureInMethod:对象:文件名:行号:消息格式:参数:](在IDEKit中)
1 0x0000000101bf17a5\u DVTAssertionHandler(位于DVT地基中)
2 0x0000000101bf1ad4\u DVTAssertionFailureHandler(在DVTFoundation中)
3 0x0000000101b8ca94+[DVTFileDataType fileDataTypeFromStringRepresentation:(在DVTFoundation中)
4 0x0000000107fa5dd0-[Xcode3TargetProductFileDataType](在DevToolsCore中)
5 0x00000001025f25ce-[IDEBuildableProductRunnableRunnableType:](在IDEFoundation中)
6 0x00000001025ee340-[IDEProfileSchemeAction\u Update分析工具服务](在IDEFoundation中)
7 0x0000000101c02bc8 \uuU 73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:][u block\u invoke(在DVTFoundation中)
8 0x0000000101c19e88 DvTinvokewithstrongowner(在DVTFoundation中)
9 0x0000000101b58479-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:](在DVTFoundation中)
10 0x00007fff90c4bc18 NSKeyValueNotifyObserver(基础中)
11 0x00007fff90c4ade8 NSKeyValueDidChange(基础中)
12 0x00007fff90c4fa56-[NSObject(NSKeyValueObserverNotification)didChangeValueForKey:(在基础中)
13 0x0000000102f6b395-[IDEContextAutocreationController可添加构建:toScheme:](在IDEKit中)
14 0x0000000102f6bd68-[IDEContextAutocreationController CreateSchemeForBuilder:withName:](在IDEKit中)
15 0x0000000102f6b16d-[IDEContextAutocreationController CreateDefaultSchemeForBuilder:](在IDEKit中)
16 0x0000000102cf2976-[IDEContextAutocreationController autocreateSchemesForcingAutocreate:](在IDEKit中)
17 0x0000000101c03618-[NSObject(DVTOBServing便利)\U dvt\U newObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
18 0x0000000101b57fc5-[NSObject(DVTOBServing便利性)dvt_newObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
19 0x0000000101c0326c-[NSObject(DVTOBServing便利)dvt_addObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
20 0x0000000102f6a11e_u_53-[IDEContextAutocreationController initForWorkspace:][u块调用_2(在IDEKit中)
21 0x0000000101c03618-[NSObject(DVTOBServing便利)\U dvt\U newObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
22 0x0000000101b57fc5-[NSObject(DVTOBServing便利性)dvt_newObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
23 0x0000000101c0326c-[NSObject(DVTOBServing便利)dvt_addObserverForKeyPath:选项:所有者:withHandlerBlock:(在DVTFoundation中)
24 0x0000000102f69e8b__53-[IDEContextAutocreationController initForWorkspace:][u块_调用(在IDEKit中)
25 0x0000000101c02bc8 \uuuu 73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:][u block\u invoke(在DVTFoundation中)
26 0x0000000101c19e88 DvTinvokewith Strongowner(在DVTFoundation中)
27 0x0000000101b58479-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:](在DVTFoundation中)
28 0x00007fff90c4bc18 NSKeyValueNotifyObserver(基础中)
29 0x00007fff90c4ade8 NSKeyValueDidChange(基础中)
30 0x00007fff90c4fa56-[NSObject(NSKeyValueObserverNotification)didChangeValueForKey:(在基础中)
31 0x000000010268481a \uuuu 81-[IDEWorkspace\u完成同步加载:应从SimpleFileFocused:]升级\u块\u调用(在IDEFoundation中)
32 0x0000000102684ac1\uuu81-[IDEWorkspace\uFinishLoadingAsynchronously:shouldUpgradefromSimpleFileFocused:][uBlock\uInvoke281(在IDEFoundation中)
33 0x00007fff90c6b055-[NSBlockOperation main](基础内)
34 0x00007fff90c4a591-[\u n运行内部启动:](基础中)
35 0x00007fff90c4a23b\uuuu nsoqf(基础中)
36 0x00007fff852dc2ad调度客户端调用(在libdispatch.dylib中)
37 0x00007fff852e3f03_调度_主队列_回调_4CF(在libdispatch.dylib中)
38 0x00007fff859b9839 \uuuu CFRUNLOOP\u正在为\u主\u调度\u队列\uuu提供服务(在CoreFoundation中)
39 0x00007fff85974b14\uuu CFRunLoopRun(在CoreFoundation中)
40 0x00007fff85974275 CFRunLoopRunSpecific(在CoreFoundation中)
41 0x00007fff8bc2ef0d RunCurrentEventLoopInMode(在HIToolbox中)
42 0x00007fff8bc2ecb7 ReceiveNextEventCommon(在HIToolbox中)
43 0x00007fff8bc2eabc _块直到外部事件匹配列表InModewithFilter(在HIToolbox中)
44 0x00007fff8b0af28e_dpsnextent(在应用套件中)
45 0x00007fff8b0ae8db-[N应用程序下一个EventMachingTask:untilDate:inMode:dequeue:](在应用程序工具包中)
46 0x00007fff8b0a29cc-[N应用程序运行](在应用程序工具包中)
47 0x00007fff8b08d803 NSApplicationMain(在应用套件中)
48 0x00007fff899005fd启动(在libdyld.dylib中)
这类疾病最常见的原因
Process: Xcode [1631]
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 [133]
Responsible: Xcode [1631]
User ID: 501
Date/Time: 2013-11-12 18:14:14.782 +0100
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 041E96A2-1123-3287-3FF6-A3F30382FC69
Sleep/Wake UUID: C6807823-3147-4602-B01F-A2A9E80B8259
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/FileTypes/DVTFileDataType.m:616
Details: stringRep should be a non-empty string, but it is nil
Object: <DVTFileDataType>
Method: +fileDataTypeFromStringRepresentation:
Thread: <NSThread: 0x7fc7d9d151c0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x0000000102e69ea8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000101bf17a5 _DVTAssertionHandler (in DVTFoundation)
2 0x0000000101bf1ad4 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000101b8ca94 +[DVTFileDataType fileDataTypeFromStringRepresentation:] (in DVTFoundation)
4 0x0000000107fa5dd0 -[Xcode3TargetProduct fileDataType] (in DevToolsCore)
5 0x00000001025f25ce -[IDEBuildableProductRunnable runnableUTIType:] (in IDEFoundation)
6 0x00000001025ee340 -[IDEProfileSchemeAction _updateAnalysisToolService] (in IDEFoundation)
7 0x0000000101c02bc8 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation)
8 0x0000000101c19e88 DVTInvokeWithStrongOwnership (in DVTFoundation)
9 0x0000000101b58479 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
10 0x00007fff90c4bc18 NSKeyValueNotifyObserver (in Foundation)
11 0x00007fff90c4ade8 NSKeyValueDidChange (in Foundation)
12 0x00007fff90c4fa56 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
13 0x0000000102f6b395 -[IDEContextAutocreationController addBuildable:toScheme:] (in IDEKit)
14 0x0000000102f6bd68 -[IDEContextAutocreationController createSchemeForBuildable:withName:] (in IDEKit)
15 0x0000000102f6b16d -[IDEContextAutocreationController createDefaultSchemeForBuildable:] (in IDEKit)
16 0x0000000102cf2976 -[IDEContextAutocreationController autocreateSchemesForcingAutocreate:] (in IDEKit)
17 0x0000000101c03618 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
18 0x0000000101b57fc5 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
19 0x0000000101c0326c -[NSObject(DVTObservingConvenience) dvt_addObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
20 0x0000000102f6a11e __53-[IDEContextAutocreationController initForWorkspace:]_block_invoke_2 (in IDEKit)
21 0x0000000101c03618 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
22 0x0000000101b57fc5 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
23 0x0000000101c0326c -[NSObject(DVTObservingConvenience) dvt_addObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
24 0x0000000102f69e8b __53-[IDEContextAutocreationController initForWorkspace:]_block_invoke (in IDEKit)
25 0x0000000101c02bc8 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation)
26 0x0000000101c19e88 DVTInvokeWithStrongOwnership (in DVTFoundation)
27 0x0000000101b58479 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
28 0x00007fff90c4bc18 NSKeyValueNotifyObserver (in Foundation)
29 0x00007fff90c4ade8 NSKeyValueDidChange (in Foundation)
30 0x00007fff90c4fa56 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
31 0x000000010268481a __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke (in IDEFoundation)
32 0x0000000102684ac1 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke281 (in IDEFoundation)
33 0x00007fff90c6b055 -[NSBlockOperation main] (in Foundation)
34 0x00007fff90c4a591 -[__NSOperationInternal _start:] (in Foundation)
35 0x00007fff90c4a23b __NSOQSchedule_f (in Foundation)
36 0x00007fff852dc2ad _dispatch_client_callout (in libdispatch.dylib)
37 0x00007fff852e3f03 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
38 0x00007fff859b9839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
39 0x00007fff85974b14 __CFRunLoopRun (in CoreFoundation)
40 0x00007fff85974275 CFRunLoopRunSpecific (in CoreFoundation)
41 0x00007fff8bc2ef0d RunCurrentEventLoopInMode (in HIToolbox)
42 0x00007fff8bc2ecb7 ReceiveNextEventCommon (in HIToolbox)
43 0x00007fff8bc2eabc _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
44 0x00007fff8b0af28e _DPSNextEvent (in AppKit)
45 0x00007fff8b0ae8db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
46 0x00007fff8b0a29cc -[NSApplication run] (in AppKit)
47 0x00007fff8b08d803 NSApplicationMain (in AppKit)
48 0x00007fff899005fd start (in libdyld.dylib)