【发布时间】:2014-09-22 12:20:01
【问题描述】:
我在使用 Swift 编译器时遇到问题: 我在最新的 Xcode 6 上为 iOs 创建了新项目并尝试构建 - ViewController.swift 和 AppDelegate.swift 收到 2 个错误。
<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 发送错误报告。
-
我对 swift 或您的代码知之甚少(所以我不知道它们是否重复),但如果您搜索
Swift segmentation fault 11,则有 3 个 other 像您这样的问题,并且至少其中一个问题的答案显示了触发错误的语法错误。 (stackoverflow.com/questions/24222644/…)
标签: ios xcode macos swift compiler-errors