9

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?

Nate
  • 31,017
  • 13
  • 83
  • 207
Sami
  • 1,369
  • 14
  • 35

1 Answers1

1

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?

Jim
  • 72,985
  • 14
  • 101
  • 108
  • This is an old question, about 1 year and 5 months ago. These warnings disappeared with newer versions. I now support iOS 4.3 and later. – Sami Sep 07 '12 at 13:08