My problem
I get "_OBJC_CLASS _ $ ..., citing:" a linker error while compiling some Xcode projects (this happens on both iOS and Mac projects). I have correctly linked frameworks and imports.
Customization
- One purpose of the application
- One test target
- All frameworks are correctly connected.
When compiling, I get the following linker errors: "_OBJC_CLASS _ $ _ JGCountdownTimer" referenced: objc-class-ref in JGCountdownTimerTestCase.o
for many classes that are used in tests.
What i tried
- Checked that import is present.
- Removed all non-standard frameworks.
- If I compile the class for both the target and the target program, it fixes the problem. But then I get other warnings from the compiler.
objective-c linker xcode compiler-errors
John gallagher
source share