Chaudhry Talha
Chaudhry Talha

Reputation: 7918

Unable to find interface controller class 'InterfaceController' to instantiate

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?

Upvotes: 5

Views: 2885

Answers (1)

Chaudhry Talha
Chaudhry Talha

Reputation: 7918

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. Solution

Upvotes: 7

Related Questions