0
我在Swift Compiler中遇到問題: 我在最新的Xcode 6上爲iOs創建了新項目,並試圖構建 - 通過ViewController.swift和AppDelegate.swift收到2個錯誤。Xcode 6上的Swift編譯器錯誤
<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)
<unknown>:0: error: unable to execute command: Bus error: 10
<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)
如果需要,我可以發佈完整日誌。
我該怎麼辦?謝謝。
即使輸入錯誤,編譯器也不應該崩潰。向Apple發送錯誤報告。 – 2014-09-22 12:30:06
我不太瞭解swift或你的代碼(所以我不知道它們是否重複),但是如果你搜索'Swift segmentation fault 11',那麼就有3 *個其他類似的問題,並且至少有一個其中的一個答案顯示觸發故障的語法錯誤。 (http://stackoverflow.com/questions/24222644/swift-compiler-segmentation-fault-when-building) – 2015-01-20 12:35:36