The error ld: in
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/libSystem.B.dylib',
missing required architecture i386 in file
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/libSystem.B.dylib (2 slices) for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)