armv6 / armv7 errors when compiling for iPhone

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-25T22:13:20Z Indexed on 2010/04/25 22:43 UTC
Read the original article Hit count: 395

Filed under:
|
|

I am having problems trying to compile my App to my iPhone. I upgraded to the new SDK and have 4.0 on my phone... which I did not do that. I am compiling for 3.1.2 - It works fine in the simulator but when I "build" for the Device, it gives me this line of errors:

Link /Users/me/Apps/myapp/build/app.build/Debug-iphoneos/app.build/objects-normal/armv7/appname
In /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/user/lib/libz.dylib, missing required architecture armv7 in file

then the actual failure occurs on:

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

Any help would be greatly appreciated

© Stack Overflow or respective owner

Related posts about iphone

Related posts about compiler