Neil
Neil

Reputation: 2058

Subclass crash - iOS

I am getting this error when I am trying to make a new file of a certain subclass:

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SDNestedTableViewController", referenced from:
      _OBJC_CLASS_$_MenuViewController in MenuViewController.o
"_OBJC_METACLASS_$_SDNestedTableViewController", referenced from:
      _OBJC_METACLASS_$_MenuViewController in MenuViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I made a file called MenuViewController a subclass of SDNestedTableViewController

Here is the link to the subclass files.

Any ideas?

P.S. Overall I am trying to Add SDNestedTable to a subview and if you could help with that, that would be amazing.

Upvotes: 0

Views: 109

Answers (1)

Brayden
Brayden

Reputation: 1795

Have you made sure in your

Project Settings > Build Phases > Compile Sources

That all your .m files are in there for those files?(MenuViewController && SDNestedTableView Controller)?

Upvotes: 2

Related Questions