Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

XCode Building error

jchen01jchen01 Posts: 21Registered Users
edited November 2009 in iPhone SDK Development
Hi folks,

I am writing a static library for iphone. When I select iPhone Device 2.2.1 (BASE SDK) in the Active SDK. It popped following error.

gcc-4.0: Invalid arch name : armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 failed with exit code 1

This error is gone if I choose iPhone Simulator 2.2.1 in the Active SDK.

Another question is very naive.

I am writing a static library and I don't want people to see the source code. However, when I try it with a test app. I found I could actually debug into the source. How do I resolve this problem?

Thanks a lot!
Post edited by jchen01 on


Sign In or Register to comment.