Develop for client having devices running ios 6

I Have the most current xcode which doesnt take any deployment targets less than ios 7. I have a client who wants me to develope a small app for his devices running ios 6. How can i do this?

(a request: no fanboy answers like 'ask ur client to upgrade or get the latest device', please!)


thanks.

Latest Xcode will accept deployment targets down to 4.3. I wrote an app for my daughter's iPad on iOS 5 on Sunday.

You may consider it a fanboy response but, the reality is, in some cases, xCode 7 for example, what you

are asking simply may not be possible. If you're coding with Swift, iOS 7 is the lowest target possible.

Once xCode 7 goes into release, xCode 6.x will only be allowed for a limited time period so, same issue.

Right now, you can use xCode 6.x and as Simpsonics said, set the target all the way down to 4.3 if you

wish BUT, not in Swift apps.

But xcode 6 for me doesnt allow deployment targets less than ios 6.

There are two kinds of targets. iOS which should always be the latest and lowest deployment target

which can be as low as 4.3 on xCode 6.


These are set at the project level, not the target level.

ok now i am confused. i see "deployment target" in to places. one is under project and other is under 'Targets'.


can someone be kind enough to tell me what the difference between the two is?

Project settings affect to all targets but targets can override those settings.

You will need to set both "Project -> Info -> Deployment Target -> iOS Deployment Target" and "Targets -> [your target] -> General -> Deployment Info -> Deployment Target" to 6.0. You cannot install an iOS 6 simulator under Xcode 6 or 7, so you need to find a device to test. I use an iPhone 3GS and an 4-th generation iPod touch for such tests (on Xcode 6.4), as they cannot upgrade beyond iOS 6. Beware that you'll have to use Objective C instead of Swift, and that your app will crash whenever you use a selector not available in iOS 6.

Develop for client having devices running ios 6
 
 
Q