IOS开发中遇到的crash

1. 错误提示:Terminating app due to uncaught exception 'NSInternalInconsistencyException',

reason: '-[UITableViewController loadView] instantiated view controller with

identifier "UIViewController-iLh-Fe-Ezq" from storyboard "Main", but didn't

get a UITableView.'

这个是我在点击一个table view controller中的button转到另一个view controller时遇到的问题,造成这个问题的原因是,我的这个view controller的类的类型写错了,写成了table view controller,改正之后程序正常进行。


2. 错误提示:Unknown class X in Interface Builder file.

http://stackoverflow.com/questions/24924966/xcode-6-strange-bug-unknown-class-in-interface-builder-file/24924967#24924967


3. 错误提示:this class is not key value coding-compliant for the key xxxxxx.

是说在哪里有这么一个多余的outlet或者是action,我是搜索了一下,然后把多余的connection给删掉就好了。


4. 错误提示:

你可能感兴趣的:(IOS开发中遇到的crash)