Including one Xcode project in another -- linker errors
Posted
by
William Jockusch
on Stack Overflow
See other posts from Stack Overflow
or by William Jockusch
Published on 2010-12-25T02:52:30Z
Indexed on
2010/12/25
2:53 UTC
Read the original article
Hit count: 579
I am trying to do this, and running into problems. The parent project needs to access the class SettingsViewController from the child project. I have put the child project path into my header search paths. Everything compiles OK, but I get linker errors, as follows:
Undefined symbols: "_OBJC_METACLASS_$_SettingsViewController", referenced from: _OBJC_METACLASS_$_StatisticsViewController in StatisticsViewController.o "_OBJC_CLASS_$_SettingsViewController", referenced from: objc-class-ref-to-SettingsViewController in SelectionViewController.o _OBJC_CLASS_$_StatisticsViewController in StatisticsViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status
How can I fix this?
© Stack Overflow or respective owner