Unable to find interface controller class 'InterfaceController' to instantiate

我是研究僧i 提交于 2019-12-01 18:03:43

问题


I'm getting this error every-time I run the project and try to navigate to another screen.

Unable to find interface controller class 'HelpInterfaceController' to instantiate

I'm using the correctly that I know:
- (IBAction)HelpButton { [self presentControllerWithName:@"help" context:nil]; }
Also the name help is as it is in the identifier. So what or where I'm going wrong?


回答1:


I've found the error! It was because of my .m file, it's target membership was MemGame instead of MenGame WatchKit Extension. So I uncheck the first option and selected the third option and now it's running perfectly.



来源:https://stackoverflow.com/questions/28364712/unable-to-find-interface-controller-class-interfacecontroller-to-instantiate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!