I started AppCode Cocoa Library project named Second.
AppCode generates Second and SecondTests, and I could get Second.dylib.
However, when I build and run SecondTests unit test, I got this build error.
>> Undefined symbols for architecture x86_64:"_OBJC_CLASS_$_Second", referenced from:objc-class-ref in SecondTests.o
>> (maybe you meant: _OBJC_CLASS_$_SecondTests)
>> ld: symbol(s) not found for architecture x86_64
I have no problem with Cocoa Application in unit testing. What might be wrong?