After looking in the internet for a solution for this error I found these solutions:
- I make sure that the target is checked
- I make sure that the file is in compile sources
I made it but still have the same error:
"_OBJC_CLASS_$_NgnEngine", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It sounds like you’re using a static library built for the device (armv7, armv7s architectures) and now you try to use it in the iPhone simulator that requires i386.
If that’s the case, build it again for i386 or even better create a fat library with all the architectures.
You can check what architectures are included in the library with
lipo -infoin the command line.