命令因信号而失败:中止陷阱:6 [英] Command failed due to signal: Abort trap: 6
本文介绍了命令因信号而失败:中止陷阱:6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从 Xcode 7 和 Swift 2.0 开始,我收到了上面的错误,就像这里显示的屏幕截图:
Since Xcode 7 and Swift 2.0, I get the error above, like in the screenshot shown here:
我不知道这是从哪里来的,清理和删除派生数据不起作用.
I have no idea where this is coming from, cleaning and deleting derived data didn't work.
还有其他人遇到过这个问题吗?
Anyone else experiencing this problem?
项目设置:
目标设置:
推荐答案
我在保护构造中使用相同的常量名称时遇到了这个问题
I faced this issue when used the same constant names in a guard construction
let activityVC = ...
guard let activityVC = activityVC else { return }
但是 xcode 没有向我显示这一行的任何警告.
But xcode didn't show me any warning for this row.
这篇关于命令因信号而失败:中止陷阱:6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文