Error when running "Possession" pg47


#1

Hello all,

I get the following error when building and running the main application documented on page 47 using Xcode 4.2.

Undefined symbols for architecture x86_64:
OBJC_CLASS$_Possession”, referenced from:
objc-class-ref in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas? i’m stumped…

Also, how do I build the Possession class as it doesn’t seem that i’m allowed to as its greyed out in the drop down.

Thanks,

Faisal


#2

Don’t panic, I found the answer. I didn’t create the Possession class within the Project. Still, we learn…