Yesterday I had a project working without problem with Xcode 5. Today, after the update to Xcode 5.1 i have 6 errors and the project is not compiling.
Undefi
In addition to Nikita's answer, you could change the parameter from "i386" to x86_64 to compile the library matching x86_64 architecture. Then the compiling errors will go away.
x86_64