I have taken over a Cocoa project that includes some frameworks, and I can get no help from the previous developer. When building one of the frameworks, I get 8 errors like this:
“.objc_class_name_XXX”, referenced from
I have tried googling the problem, but I cant get my head around it. Any ideas?
I also get some warnings saying “missing required architecture ppc in file” for a linked framework, could this hint at the problem?
Any help will be greatly appreciated. Thank you
Søren
The missing
.objc_class_name_XXXmeans you’re sending class messages to XXX, but not linking to the binary where XXX’s main implementation is. Presumably this is the framework that doesn’t have a PPC part.There are three possible ways to fix this:
NSClassFromStringor#ifdefthem out).