I am trying to build my XCode project and this is what I get. The project runs fine on a device but fails to run on simulator.

Can someone please explain me why this is happening. I have tried removing this library from the project and add it again. It still fails to run on simulator.
Thanks in advance.
i386 is a reference to the Intel processor architecture used by your development machine (the actual iOS devices use ARM processors).
The error indicates that the library has not been built to include support for the Intel architecture. As the simulator runs on the desktop, it requires Intel support to run.
You should obtain a copy of the library that includes i386, or build it yourself.
Here’s one way that can be done (for another library that required i386 support adding)
http://www.federicocappelli.net/2012/10/05/zbar-library-for-iphone-5-armv7s/