Skip to content

Xcode crashing if no whole module optimization #1

@pRizz

Description

@pRizz

Performing your workaround does not work if whole module optimization is turned off for the desired target. It does work when whole module optimization is on. I would update the instructions to mention this issue. It's probably a moot point since Xcode 7.3 will come out in the next few weeks, fixing this issue anyways. I really appreciate your workaround, by the way! Thanks so much!!!

2016-03-04 01:43:05.627 xcodebuild[30849:1637696]  DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDELanguageSupport/IDELanguageSupport-9517/XCLanguageSupport/XCSwiftCommandOutputParser.m:230
Details:  (subcommand) should not be nil.
Object:   <XCSwiftCommandOutputParser: 0x7fe613d15d30>
Method:   -handleCommandExitedMessage:didSignal:error:
Thread:   <NSThread: 0x7fe613be1030>{number = 17, name = (null)}
Hints: None
Backtrace:
  0  0x000000010f7f6acd -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010f7f6601 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010f7f6818 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x00000001196e618d -[XCSwiftCommandOutputParser handleCommandExitedMessage:didSignal:error:] (in XCLanguageSupport)
  4  0x00000001196e4d33 -[XCSwiftCommandOutputParser handleMessage:error:] (in XCLanguageSupport)
  5  0x00000001196e671a -[XCSwiftCommandOutputParser writeBytes:length:] (in XCLanguageSupport)
  6  0x000000011313935b -[XCLineBufferedOutputStream writeBytes:length:] (in DevToolsCore)
  7  0x00000001131cf43f -[XCWorkQueueCommandSubprocessInvocation handleOutputBytes:length:] (in DevToolsCore)
  8  0x00000001131d17b6 -[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] (in DevToolsCore)
  9  0x0000000113233cc3 -[Xcode3BuildTask main] (in DevToolsCore)
 10  0x00007fffa0cb52fb -[__NSOperationInternal _start:] (in Foundation)
 11  0x00007fffa0cb4de7 __NSOQSchedule_f (in Foundation)
 12  0x00007fff8acb333f _dispatch_client_callout (in libdispatch.dylib)
 13  0x00007fff8acb7f6f _dispatch_queue_drain (in libdispatch.dylib)
 14  0x00007fff8acbe63b _dispatch_queue_invoke (in libdispatch.dylib)
 15  0x00007fff8acb6c87 _dispatch_root_queue_drain (in libdispatch.dylib)
 16  0x00007fff8acb6a34 _dispatch_worker_thread3 (in libdispatch.dylib)
 17  0x00007fff96f1168f _pthread_wqthread (in libsystem_pthread.dylib)
 18  0x00007fff96f0f365 start_wqthread (in libsystem_pthread.dylib)
Abort trap: 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions