Reputation: 4595
Xcode sems to have real issues about deleting things. I deleted files GUI.h and GUI.m and clicked 'also send to trash'.
Nowhere in my program references this deleted class, and yet I'm getting an error:
"objc_class_name_GUI", referenced from: objc_class_name_LevelLayer in LevelScene.o Symbol(s) not found Collect2: Id returned 1 exit status
What's going on?
Thanks!
Upvotes: 2
Views: 786
Reputation: 118671
Try cleaning your project (⇧⌘K) and building it again. You probably have some compiled object files which still reference those classes, and the compiler didn't notice that it should rebuild them. Also make sure that your LevelScene code doesn't still reference the deleted classes.
Upvotes: 3