Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 6 GM crash after launch

I use OS 10.10, Xcode 6 GM, my project write by swift(& Objective-C).

The project can run with Xcode 6-beta7.

Process:               Xcode [7267]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.0 (6299)
Build Info:            IDEFrameworks-6299000000000000~8
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [7267]
User ID:               501

Date/Time:             2014-09-10 17:25:38.697 +0800
OS Version:            Mac OS X 10.10 (14A343f)
Report Version:        11
Anonymous UUID:        587D71D4-C53F-50BF-625D-CF092416EEDC


Time Awake Since Boot: 12000 seconds

Crashed Thread:        14  Dispatch queue: shared-compile-command-queue :: NSOperation 0x7f887f8aa900 (QOS: UTILITY)

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6A313
ASSERTION FAILURE in /SourceCache/IDELanguageSupport/IDELanguageSupport-6233/XCLanguageSupport/XCSwiftCommandOutputParser.m:222
Details:  (subcommand) should not be nil.
Object:   <XCSwiftCommandOutputParser: 0x7f887cde4740>
Method:   -handleCommandExitedMessage:didSignal:error:
Thread:   <NSThread: 0x7f887ff8c130>{number = 14, name = (null)}
Hints:   None
Backtrace:
  0  0x000000010696cf0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1  0x000000010572bbaf _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010572be9e _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000011470d6ce -[XCSwiftCommandOutputParser handleCommandExitedMessage:didSignal:error:] (in XCLanguageSupport)
  4  0x000000011470c3b9 -[XCSwiftCommandOutputParser handleMessage:error:] (in XCLanguageSupport)
  5  0x000000011470d7d9 -[XCSwiftCommandOutputParser writeBytes:length:] (in XCLanguageSupport)
  6  0x0000000110c6cd70 -[XCLineBufferedOutputStream writeBytes:length:] (in DevToolsCore)
  7  0x0000000110cfb5a0 -[XCWorkQueueCommandSubprocessInvocation handleOutputBytes:length:] (in DevToolsCore)
  8  0x0000000110cfd490 -[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] (in DevToolsCore)
  9  0x0000000110d5abac -[Xcode3BuildTask main] (in DevToolsCore)
 10  0x00007fff8ec0b0ac -[__NSOperationInternal _start:] (in Foundation)
 11  0x00007fff8ec0acb3 __NSOQSchedule_f (in Foundation)
 12  0x00007fff92116d53 _dispatch_client_callout (in libdispatch.dylib)
 13  0x00007fff9211a3f7 _dispatch_queue_drain (in libdispatch.dylib)
 14  0x00007fff9211bf4c _dispatch_queue_invoke (in libdispatch.dylib)
 15  0x00007fff9211978b _dispatch_root_queue_drain (in libdispatch.dylib)
 16  0x00007fff92128002 _dispatch_worker_thread3 (in libdispatch.dylib)
 17  0x00007fff9a3366cb _pthread_wqthread (in libsystem_pthread.dylib)
 18  0x00007fff9a3344a1 start_wqthread (in libsystem_pthread.dylib)

abort() called

Application Specific Signatures:
((subcommand)) != nil
like image 634
ZYiOS Avatar asked Dec 19 '22 11:12

ZYiOS


2 Answers

Just delete all your xcode simulators derived Data, you can find derived data path at ~/Library/Developer/Xcode/DerivedData, woalaa... crash issue solved.

like image 178
Jayesh Lathiya Avatar answered Feb 01 '23 15:02

Jayesh Lathiya


I have the same problem, I temporarily solved that by change product name to english. Seems it's a bug of Xcode GM version.

like image 31
yudun1989 Avatar answered Feb 01 '23 14:02

yudun1989