错误原因:这个错误的原因是项目中删掉了ViewController.h/m,采用了自定义的viweController, 而main.storyboard中有用到原来的ViewController.h/m,所以提示:Unknown class main in Interface Builder file.

解决方法有两种

方法一:重新设定指向的类。

方法二:先删掉main.storyboard, 然后在info.plist文件中删掉main storybiard file base name一项

以上的两种方法都能解决该问题