I am currently working on an iOS application (iOS 6) in which I need to implement a static library.
I have successfully implemented the Static library using this tutorial . And I successfully added the static library to another project and installed the application on the iPhone !. It works successfully.
But my problem is that when I tried to run it on my simulator, some errors will appear:
"_OBJC_CLASS_$_MMPAlert", 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)

I added the target architecture as follows:

I searched a lot, but could not find a solution why my library works on the device and gives an error on the simulator.
Please help me, thanks in advance
source share