问题描述
将Swift更新到v3.1之后,我将Realm框架替换为从 Realm下载的新版本Swift 2.5.1 ,但出现以下问题:
After updating Swift to v3.1, I got Realm frameworks replaced by the new version downloaded from Realm Swift 2.5.1 but get the following issue:
已检查此和 ,但是它们没有用.
Already checked this and this, but they didn't work.
这是错误说明,但是不确定是否有帮助.
Here is the error description, not sure if it's helpful though.
推荐答案
问题已解决.
我想这是新Xcode(8.3.2)错误报告系统的问题.苹果可能会添加一些新的编码规则,但不会更新错误报告程序.我最终注释掉了所有代码,并取消了每个部分的注释,以找出问题出在哪里.它报告某些类中的错误,但实际问题出在另一类中.
I guess that it's a problem of the new Xcode's (8.3.2) error report system. Apple may add some new coding rules but not update the error reporter. I ended up commenting out all the code and uncommenting each part to figure out where the problem is. It reports errors in some classes but the actual problem is in another class.
这篇关于Swift 3.1领域-命令由于信号失败:非法指令:4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!