I get the following warnings when trying to build my project. There are about 160 warnings similar to them which is annoying
ld: warning: CPU_SUBTYPE_ARM_ALL subtype is deprecated: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/arm-apple-darwin10/4.2.1/libgcc.a(_udivsi3.o)
and
warning: (armv7) /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/arm-apple-darwin10/4.2.1/libgcc.a(_divdi3.o) object file '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/arm-apple-darwin10/4.2.1/libgcc.a(_divdi3.o)' doesn't contain architecture information for armv7.
All of the warnings are related to libgcc.a.
I need this application to support iOS 3.2 and later. So what can I do to remove these warnings?
You're mixing up two different things - your deployment target and your base SDK. Your deployment target defines which iOS versions you intend to run on. Set your base SDK to the latest version available. Set your deployment target to iOS 3.2.
Having said that, for almost all cases, I think it's probably a mistake to target iOS 3 these days. iOS 6 is about to be released, and almost everybody has upgraded beyond iOS 3.2. Are you sure you need to do this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With