Search code examples
uiviewcompiler-errorsswiftxcode6-beta6

Swift compiler Error "failed with exit code 254"


When I update Xcode 6 from Beta 4 to the Beta 6, I have this (new) compiler error and I don't know how to fix it.

<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)
Command /Applications/Xcode6-Beta6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 254

The concerned lines are these

let reuseId = "test"

    var anView = mapView.dequeueReusableAnnotationViewWithIdentifier(reuseId)
    if anView == nil{...}

Thanks.


Solution

  • The bug was solved in Beta 7 available online today.