0

I just released my app but I am only able to make it compatible from 4.3 and up. When I try to go any lower than 4.3 (xcode), it says I need to add code to make this work. Does anyone know how to do this or has any suggestions? I would like my app to be compatible with 3.0 and onwards.

Thank you very much

5
  • Have you already published on the AppStore? Commented Nov 27, 2011 at 21:19
  • make sure you change version in Deployment Target, Build Settings, and Under Info for both targets and project. Also be sure that you have armv6 and armv7 set as well. Commented Nov 27, 2011 at 21:25
  • 1
    Verbatim error messages are helpful, can you post whatever Xcode spits out? Commented Nov 27, 2011 at 22:04
  • @AmitApollo That is exactly my issue, what is armv6 and armv7? How do I set it? Thanks Commented Nov 28, 2011 at 4:21
  • @RazorSharp Yes I have already been published on the app store. Commented Nov 28, 2011 at 4:22

2 Answers 2

4

You have to reach the least common code, what I mean by this is that you must find all the methods that are all incompatible within all of these versions of the OS. After that you will have to find each and every of it's functional equivalents. Then you can use conditional statements to check for every version and see what fits better or you can use the respondsToSelector method inherited from the NSObject class. In the end you have to test it on each device you are targeting :P

You can run this checkup list that I have always liked.

Edit:

I think I misunderstood your question though it has already been mentioned, be sure to check your deployment target in your build settings.

Sign up to request clarification or add additional context in comments.

Comments

1

Checklist:

In your project's build settings…

  • Did you set the "iOS Deployment Target" to iOS 3?
  • Did you include the armv6 architecture in both, the built and the valid architectures?

In general:

  • Do you link to any framework that is not supported on iOS 3?
  • Do you use any methods, classes or other features that have been added later?

2 Comments

How do you include armv6 and armv7? I believe this is my issue. Thanks!
In Xcode, look for "Architectures" and "Valid Architectures" in the project's build settings. If the lists do not include "armv6", edit them accordingly.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.