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
0 · ·