我手动删除从我的Xcode项目Alamofire POD和这段时间以来,我对任何UIButton
IBOutlet
加入一些UIViewControllers
错误。斯威夫特的setValue:forUndefinedKey:]:此类不是密钥值编码兼容的关键
我有以下错误:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key btListOrdo
我试图创建一个新的UIViewController
并将其链接到我的StoryBoard
但我有同样的错误....
我加入以下IBOutlet
@IBOutlet weak var btListOrdo: UIButton!
注意,这些链接的POD删除前工作正常,我可能已经删除一些强制性的,但我不能够找到它。
这里是我的按钮的引用网点的截图:
我也试图清理项目,清理build文件夹,删除导出数据,重置内容和模拟器的设置,但同样的结果...
您搜索与⇧⌘F和关键字'btListOrdo'项目? – vadian
它在故事板存在“仪表板视图控制器:出口=‘btListOrdo’”并以我的viewController“@IBOutlet弱VAR btListOrdo:UIButton的” – tiamat
如果存在死连接,请在Interface Builder中查看。 – vadian