XCode 9 bata 6 版本 自己的工程打不开 进入5秒就奔溃

以下是奔溃日志 求帮助

Process:               Xcode [2017]
Path:                  /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               9.0 (13238.4)
Build Info:            IDEFrameworks-13238004000000000~11
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [2017]
User ID:               501

Date/Time:             2017-08-23 15:47:55.448 +0800
OS Version:            Mac OS X 10.13 (17A352a)
Report Version:        12
Anonymous UUID:        4F9F0754-5110-6EFD-CA9A-8FE72D3CF758


Time Awake Since Boot: 2000 seconds

System Integrity Protection: enabled

Crashed Thread:        24

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Application Specific Information:
ProductBuildVersion: 9M214v
mcount overflow

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.HIToolbox               0x00007fff3afcf876 RunCurrentEventLoopInMode + 286
6   com.apple.HIToolbox               0x00007fff3afcf5e6 ReceiveNextEventCommon + 613
7   com.apple.HIToolbox               0x00007fff3afcf364 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8   com.apple.AppKit                  0x00007fff392cd783 _DPSNextEvent + 2085
9   com.apple.AppKit                  0x00007fff39a62688 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10  com.apple.dt.DVTKit               0x00000001026d48be -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 390
11  com.apple.AppKit                  0x00007fff392c2591 -[NSApplication run] + 764
12  com.apple.AppKit                  0x00007fff39291736 NSApplicationMain + 804
13  libdyld.dylib                     0x00007fff631d4145 start + 1

Thread 1:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e06a _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 6:: Dispatch queue: com.apple.dt.SpotlightIndexerProcess (QOS: BACKGROUND)
0   libswiftCore.dylib                0x0000000104c2b0de specialized _hashString(_:) + 62
1   libswiftCore.dylib                0x0000000104bba0bc protocol witness for Hashable.hashValue.getter in conformance String + 44
2   libswiftCore.dylib                0x0000000104c593aa specialized _NativeDictionaryBuffer<A, B>.unsafeAddNew(key:value:) + 170
3   libswiftCore.dylib                0x0000000104b07d6a _VariantDictionaryBuffer.ensureUniqueNativeBuffer(_:) + 1850
4   libswiftCore.dylib                0x0000000104b0a1d2 _VariantDictionaryBuffer.nativeUpdateValue(_:forKey:) + 1074
5   libswiftFoundation.dylib          0x00000001052e1db6 specialized _dictionaryBridgeFromObjectiveCConditional<A, B, C, D>(_:) + 1990
6   libswiftFoundation.dylib          0x00000001053304b9 specialized static Dictionary._conditionallyBridgeFromObjectiveC(_:result:) + 233
7   libswiftFoundation.dylib          0x00000001052823ef static Dictionary._conditionallyBridgeFromObjectiveC(_:result:) + 15
8   libswiftFoundation.dylib          0x0000000105283198 protocol witness for static _ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC(_:result:) in conformance <A, B> [A : B] + 24
9   libswiftCore.dylib                0x0000000104d67bd9 _dynamicCastClassToValueViaObjCBridgeable(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, (anonymous namespace)::_ObjectiveCBridgeableWitnessTable const*, swift::DynamicCastFlags) + 281
10  libswiftCore.dylib                0x0000000104d65b8b swift_dynamicCast + 651
11  libswiftFoundation.dylib          0x000000010532eb11 specialized _arrayConditionalCast<A, B>(_:) + 769
12  libswiftFoundation.dylib          0x000000010532ed3a specialized static Array._conditionallyBridgeFromObjectiveC(_:result:) + 218
13  libswiftFoundation.dylib          0x000000010527cd4f static Array._conditionallyBridgeFromObjectiveC(_:result:) + 15
14  libswiftFoundation.dylib          0x000000010527cdcd protocol witness for static _ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC(_:result:) in conformance <A> [A] + 13
15  libswiftCore.dylib                0x0000000104d67bd9 _dynamicCastClassToValueViaObjCBridgeable(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, (anonymous namespace)::_ObjectiveCBridgeableWitnessTable const*, swift::DynamicCastFlags) + 281
16  libswiftCore.dylib                0x0000000104d65b8b swift_dynamicCast + 651
17  com.apple.DNTDocumentationModel    0x000000010adc98f6 JSONType.optionalValueForKey<A>(_:) + 1366
18  com.apple.DNTDocumentationModel    0x000000010adcb669 protocol witness for JSONType.optionalValueForKey<A>(_:) in conformance <A> JSON<A> + 105
19  com.apple.DNTDocumentationModel    0x000000010adcb5b0 protocol witness for JSONType.optionalValueForKey<A>(_:) in conformance <A> JSON<A> + 16
20  com.apple.DNTDocumentationModel    0x000000010adcb238 JSONType.optionalJSONArrayForKey(_:) + 184
21  com.apple.DNTDocumentationModel    0x000000010adcb919 protocol witness for JSONType.jsonForKey(_:) in conformance <A> JSON<A> + 89
22  com.apple.DNTDocumentationModel    0x000000010adcb8b0 protocol witness for JSONType.optionalJSONArrayForKey(_:) in conformance <A> JSON<A> + 16
23  com.apple.DNTDocumentationSupport    0x000000010b18e342 specialized JSONType<A>.groupsForKey(_:sourceLanguage:rootJSON:) + 178
24  com.apple.DNTDocumentationSupport    0x000000010b16b08d Class.init(json:role:) + 4973
25  com.apple.DNTDocumentationSupport    0x000000010b16c2f9 protocol witness for WebJSONInitializable.init(json:role:) in conformance Class + 9
26  com.apple.DNTDocumentationSupport    0x000000010b1c7bd8 static DocumentationService.entityForJSONDictionary(_:) + 360
27  com.apple.DNTDocumentationSupport    0x000000010b1c739a DocumentationService.deserializeEntity(cachePair:) + 682
28  com.apple.DNTDocumentationSupport    0x000000010b1c806c closure #1 in DocumentationService.deserializeEntities<A>(cachePairs:) + 44
29  com.apple.DNTDocumentationSupport    0x000000010b1ca1cc partial apply for closure #1 in DocumentationService.deserializeEntities<A>(cachePairs:) + 12
30  com.apple.DNTDocumentationSupport    0x000000010b1c8c7e specialized Collection.map<A>(_:) + 1534
31  com.apple.DNTDocumentationSupport    0x000000010b1ca179 specialized DocumentationService.deserializeEntities<A>(cachePairs:) + 137
32  com.apple.DNTDocumentationSupport    0x000000010b148702 IndexOperation.main() + 418
33  com.apple.DNTDocumentationSupport    0x000000010b14a737 @objc IndexOperation.main() + 23
34  com.apple.Foundation              0x00007fff3dd33dc2 -[__NSOperationInternal _start:] + 778
35  libdispatch.dylib                 0x00007fff6319af64 _dispatch_client_callout + 8
36  libdispatch.dylib                 0x00007fff631ad54d _dispatch_block_invoke_direct + 317
37  libdispatch.dylib                 0x00007fff6319af64 _dispatch_client_callout + 8
38  libdispatch.dylib                 0x00007fff631ad54d _dispatch_block_invoke_direct + 317
39  libdispatch.dylib                 0x00007fff631ad3f0 dispatch_block_perform + 109
40  com.apple.Foundation              0x00007fff3dd2fdd0 __NSOQSchedule_f + 342
41  libdispatch.dylib                 0x00007fff6319af64 _dispatch_client_callout + 8
42  libdispatch.dylib                 0x00007fff631ae091 _dispatch_continuation_pop + 472
43  libdispatch.dylib                 0x00007fff631a58e0 _dispatch_async_redirect_invoke + 703
44  libdispatch.dylib                 0x00007fff6319cb56 _dispatch_root_queue_drain + 515
45  libdispatch.dylib                 0x00007fff6319c902 _dispatch_worker_thread3 + 101
46  libsystem_pthread.dylib           0x00007fff6345e1ca _pthread_wqthread + 1387
47  libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.Foundation              0x00007fff3dd1a3f6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6   com.apple.DTDeviceKitBase         0x0000000113d404f8 +[DTDKRemoteDeviceConnection startServiceBrowsers] + 217
7   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
8   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
9   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
10  libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 8:
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.Foundation              0x00007fff3dd1a3f6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6   com.apple.DTDeviceKitBase         0x0000000113d4e95c -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 1454
7   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
8   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
9   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
10  libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 9:: com.apple.CFSocket.private
0   libsystem_kernel.dylib            0x00007fff63324142 __select + 10
1   com.apple.CoreFoundation          0x00007fff3bceb4ab __CFSocketManager + 635
2   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
3   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
4   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 10:
0   libsystem_kernel.dylib            0x00007fff63323e7e __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fff6345f662 _pthread_cond_wait + 732
2   libc++.1.dylib                    0x00007fff61213cb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   com.apple.JavaScriptCore          0x00007fff3f721ac6 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 86
4   com.apple.JavaScriptCore          0x00007fff3f7219fb bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 139
5   com.apple.JavaScriptCore          0x00007fff3f721d28 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 40
6   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
7   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
8   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 11:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 12:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.CFNetwork               0x00007fff3ac29432 +[NSURLConnection(Loader) _resourceLoadLoop:] + 357
6   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
7   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
8   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
9   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 13:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 14:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e06a _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 15:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 16:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 17:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 18:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e06a _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 19:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e06a _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 20:
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.spotlight.index         0x00007fff5de22077 _handleExceptions + 111
3   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
4   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
5   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 21:: com.apple.NSEventThread
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.AppKit                  0x00007fff3940af81 _NSEventThread + 184
6   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
7   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
8   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 22:: DYMobileDeviceManager
0   libsystem_kernel.dylib            0x00007fff6331ae76 mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff6331a390 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff3bcb1445 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation          0x00007fff3bcb0797 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation          0x00007fff3bcafe13 CFRunLoopRunSpecific + 483
5   com.apple.Foundation              0x00007fff3dd1a3f6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6   com.apple.Foundation              0x00007fff3dd1a2ce -[NSRunLoop(NSRunLoop) run] + 76
7   com.apple.GPUToolsMobileFoundation    0x0000000119f9328a -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
9   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
10  libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
11  libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 23:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e06a _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 24 Crashed:
0   com.apple.CoreFoundation          0x00007fff3bd6a418 _cow_copy + 168
1   com.apple.CoreFoundation          0x00007fff3be183f7 -[__NSFrozenDictionaryM mutableCopyWithZone:] + 167
2   com.apple.dt.DVTFoundation        0x000000010201249a -[DVTMacroExpansionScope(MRR) lookupValueForMacroName:hash:withCursor:] + 559
3   com.apple.dt.DVTFoundation        0x000000010203ba59 -[DVTMacroExpansionString_Substitution dvt_evaluateAsStringInScope:withState:] + 733
4   com.apple.dt.DVTFoundation        0x000000010203dcc5 -[DVTMacroExpansionString_Concatenation dvt_evaluateAsStringInScope:withState:] + 158
5   com.apple.dt.DVTFoundation        0x0000000102012d58 -[DVTMacroExpansionScope(MRR) evaluatedStringValueForMacroNamed:returningFallbackConditionsUsed:] + 188
6   com.apple.Xcode.DevToolsCore      0x000000011395f244 dg_get_string + 100
7   com.apple.Xcode.DevToolsCore      0x00000001137f9c9a -[XCCompilerSpecification setupHeadermapsWithMacroExpansionScope:] + 1214
8   com.apple.Xcode.DevToolsCore      0x00000001137fa10a -[XCCompilerSpecification computeDependenciesForFilePath:ofType:outputDirectory:withMacroExpansionScope:] + 610
9   com.apple.Xcode.DevToolsCore      0x00000001138da834 -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:parameterMacros:withMacroExpansionScope:] + 7647
10  com.apple.Xcode.DevToolsCore      0x00000001138db9ab -[XCBuildRuleDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:withOutputDirectory:parameterMacros:withMacroExpansionScope:] + 975
11  com.apple.Xcode.DevToolsCore      0x00000001138ccf3e -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:processedPaths:] + 3199
12  com.apple.Xcode.DevToolsCore      0x00000001138cf77d -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:] + 137
13  com.apple.Xcode.DevToolsCore      0x00000001138cfeb9 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:withMacroExpansionScope:] + 1808
14  com.apple.Xcode.DevToolsCore      0x00000001138bae03 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] + 2528
15  com.apple.Xcode.DevToolsCore      0x00000001138d2ab1 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] + 69
16  com.apple.Xcode.DevToolsCore      0x00000001138d4ee0 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] + 9222
17  com.apple.Xcode.DevToolsCore      0x00000001137fea85 -[XCProductTypeSpecification computeDependenciesWithMacroExpansionScope:] + 2085
18  com.apple.Xcode.DevToolsCore      0x00000001138b2c2f -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] + 4448
19  com.apple.Xcode.DevToolsCore      0x0000000113772018 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4250
20  com.apple.Xcode.DevToolsCore      0x000000011378e07b -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 511
21  com.apple.Xcode.DevToolsCore      0x000000011378d722 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 286
22  com.apple.Xcode.DevToolsCore      0x00000001137f4827 -[XCBlockQueue _processNextBlockInThreadSlotNumber:] + 463
23  com.apple.Xcode.DevToolsCore      0x00000001137f4bcc -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 299
24  com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
25  libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
26  libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
27  libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 25:
0   libsystem_kernel.dylib            0x00007fff63323e7e __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fff6345f662 _pthread_cond_wait + 732
2   com.apple.Xcode.DevToolsCore      0x00000001137f4cf5 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 596
3   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
4   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
5   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
6   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 26:
0   libsystem_kernel.dylib            0x00007fff63323e7e __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fff6345f662 _pthread_cond_wait + 732
2   com.apple.Xcode.DevToolsCore      0x00000001137f4cf5 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 596
3   com.apple.Foundation              0x00007fff3dd286d8 __NSThread__start__ + 1197
4   libsystem_pthread.dylib           0x00007fff6345e6c1 _pthread_body + 340
5   libsystem_pthread.dylib           0x00007fff6345e56d _pthread_start + 377
6   libsystem_pthread.dylib           0x00007fff6345dc5d thread_start + 13

Thread 27:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 28:
0   libsystem_kernel.dylib            0x00007fff633246da __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fff6345e26f _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff6345dc4d start_wqthread + 13

Thread 29:
0   libsystem_pthread.dylib           0x00007fff6345dc40 start_wqthread + 0
1   ???                               0x0000000000000001 0 + 1

Thread 30:
0   libsystem_pthread.dylib           0x00007fff6345dc40 start_wqthread + 0
1   ???                               0x000000010266ba00 0 + 4335254016

Thread 24 crashed with X86 Thread State (64-bit):
  rax: 0x00007fff3bfffacf  rbx: 0x0000000000000001  rcx: 0x00007fcc5e1c0001  rdx: 0x00007fcc5cafffff
  rdi: 0x00007fcc5caf6648  rsi: 0x000000000000ffff  rbp: 0x00007000058989e0  rsp: 0x00007000058989b0
   r8: 0x0000000000000001   r9: 0x0000000000000001  r10: 0x00000000ffff0000  r11: 0x00007fcc5e100000
  r12: 0x00007fcc5ce0eae0  r13: 0x0000000000000000  r14: 0x00007fcc5caf6640  r15: 0x00007fcc5caf6648
  rip: 0x00007fff3bd6a418  rfl: 0x0000000000010246  cr2: 0x00007fcc5e2d0000
  
Logical CPU:     0
Error Code:      0x02000170
Trap Number:     133

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 3
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 132352
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=852.7M resident=0K(0%) swapped_out_or_unallocated=852.7M(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)
 
                                  VIRTUAL   REGION 
REGION TYPE                          SIZE    COUNT (non-coalesced) 
===========                       =======  ======= 
Accelerate framework                 384K        4 
Activity Tracing                     256K        2 
CG backing stores                   19.7M        6 
CG image                             584K       39 
CG raster data                      7876K       75 
CoreAnimation                       12.1M      128 
CoreGraphics                           8K        2 
CoreImage                            148K       23 
CoreUI image data                   2096K       25 
CoreUI image file                    300K       10 
Dispatch continuations              8192K        2 
Foundation                            12K        4 
Image IO                             632K       33 
JS JIT generated code                  8K        3 
JS JIT generated code (reserved)     1.0G        2         reserved VM address space (unallocated)
Kernel Alloc Once                      8K        2 
MALLOC                             408.9M      122 
MALLOC guard page                    192K       41 
MALLOC_LARGE (reserved)              516K        2         reserved VM address space (unallocated)
Memory Tag 242                        12K        2 
Memory Tag 244                       128K        3 
Memory Tag 251                       176K        2 
Memory Tag 255                        32K        2 
SQLite page cache                   4864K        6 
STACK GUARD                         56.1M       32 
Stack                               23.2M       32 
VM_ALLOCATE                          140K       24 
WebKit Malloc                       1056K        5 
__DATA                              77.4M      618 
__FONT_DATA                            4K        2 
__GLSLBUILTINS                      2588K        2 
__LINKEDIT                         263.1M      199 
__TEXT                             589.7M      594 
__UNICODE                            556K        2 
libnetwork                           128K        6 
mapped file                        187.5M      220 
shared memory                        700K       18 
===========                       =======  ======= 
TOTAL                                2.6G     2257 
TOTAL, minus reserved VM space       1.6G     2257 

Model: MacBookAir6,2, BootROM MBA61.0103.B00, 2 processors, Intel Core i5, 1.3 GHz, 8 GB, SMC 2.13f15
Graphics: Intel HD Graphics 5000, Intel HD Graphics 5000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.0.1a1)
Bluetooth: Version 6.0.0f6, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD0128F, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 23.6
阅读 4.3k
4 个回答

我是Xcode8.3.3同样会崩溃,大概是升级了10.13 Beta (17A352a)之后的系统问题。选择真机会崩溃,模拟器没问题。

新手上路,请多包涵

我也是这个问题,包含.git和.svn的工程打开就崩溃,删除.git 文件也不好使。你们解决了吗?

新手上路,请多包涵

定位到是index的问题,defaults write com.apple.dt.Xcode IDEIndexDisable 1 可以不崩

新手上路,请多包涵

defaults write com.apple.dt.Xcode IDEIndexDisable 1 只能保证打开不崩,但是一旦build必崩

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进