异常错误iOS

异常错误iOS,ios,exception,Ios,Exception,大家好,我正在努力解决这个错误 Terminating app due to uncaught exception 'NSUnknownKeyException', reason: ' [<ProfiloViewController 0x8d54ec0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key nomeTxt.' 我没有名为setValue的

大家好,我正在努力解决这个错误

  Terminating app due to uncaught exception 'NSUnknownKeyException', reason:  '    [<ProfiloViewController 0x8d54ec0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key nomeTxt.'
我没有名为setValue的方法。。我不知道怎么了


谢谢你的帮助

这可能是因为您添加了一个名为
nomeTxt
IBOutlet
,然后将其删除。因此,这种联系现在可能会被打破。检查您的xib/情节提要连接。

当您访问未正确连接到文件所有者的
IBOutlet
IBAction
时,会发生此错误。因此,首先在Interface Builder中检查您的所有连接,或者(打开xib,选择文件所有者并单击“连接检查器”)查看所有插座,任何插座都有
('s),这意味着它缺少插座。

是的,这很好!谢谢,现在一切正常。
libc++abi.dylib: terminating with uncaught exception of type NSException