What version of XCode will support iOS 3.0? - iphone

I want my app to support the largest audience possible. I am thinking this would be iOS 3.0 to iOS 7.0. I originally wrote the app using XCode 5.0 but because I used storyboarding I could only support users that had iOS 5.0 or higher at the time. At this point, I am thinking of reworking the app so it no longer uses storyboarding and using a lower version of XCode. I am also wondering how to support iOS 7.0 as while supporting iOS 3.0 users?
Was wondering if someone could point me in the right direction?
Thanks in advance!

There is no single version of Xcode that will support both iOS 3.0 and 4" iOS 7 devices.
Only Xcode versions 4.4 and earlier can generate armv6 code for iOS 3 devices. Later ones cannot.
And Apple no longer allows submitting iPhone apps without 4" display support, which requires Xcode 4.5 or later, and building with the iOS 6 SDK or later. The lowest iOS version which Xcode 5 and the iOS SDK 7 supports is iOS 4.3.
Some iOS developers have reported success using the OS X lipo command-line tool to combine binary slices from both Xcode 4.4 and Xcode 5, but this usage is unsupported.

Related

We intend to support the iPhone 5, do we need to upgrade Xcode to v4.5 and use the iOS 6 SDK?

We want to update our game to support the iPhone 5.
Do we need to upgrade Xcode to v4.5 and use the iOS 6 SDK??
[edit]Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
Old answer :
Yes you can use Xcode 4.4 or below to support iPhone 5.
The iOS (6) will run an app in letterbox mode if there is not a 640x1136 splashscreen image in your resources. The image must be called Default-568h#2x.png (if your splashscreen is Default.png in your Info.plist).
So just add this image on your Xcode project whatever version it is, and the app will run in full screen mode.
This being said, there are chances that Apple will not let you install an app compiled with Xcode 4.4 or below on an iOS 6 device (and of course no iPhone 5 simulator for Xcode 4.4 and below). [edit] As told in the comments, yes, you can install on an iPhone 5 / iOS6 with Xcode4.4.
All apps created with older SDK works perfectly on newer iOS versions, so iPhone 5 should also run every existing app without any problem, so you don't need to use the iOS 6.0 SDK to support iPhone 5.
I think you mean to ask to support iOS 5. If that is the case then you really do not need to upgrade your Xcode version. YOu can use iOS SDK 5.0 or iOS SDK 5.1 which contains Xcode version 4.2 and 4.3.
You really do not need to use iOS SDK 6.0 beta. I hope this may help you.
All the information about iOS 6 are under NDA, and the iPhone 5 is not even announced.
But there are rumors, that the iPhone 5 will have a screen resolution of 1136*640. There are hacks for Xcode 4.4.1 out there that make it possible to create that screen resolution in the iPhone simulator. So, I think that would be a viable way for testing the rumored new resolution.
Regarding iOS 6: if you are a paying iOS developer, you can download iOS 6 to test your app against it (We don't talk about products under NDA here).
You can use this receipt http://0xced.blogspot.co.at/2012/08/prepare-your-apps-for-new-iphone.html for start iOS Simulator (iOS 5 only) with new screen size.
Yes, You need to update your Xcode to build for iPhone5. Do the following steps for this:
Download Xcode 4.5 with iOS 5.1 SDK.
Build your apps with Xcode 4.5.

Is an iPhone / iPad app using a storyboard runs on iOS 4

The file "storyboard" seems to be a novelty appeared with XCode 4 but in fact it is new in iOS 5.
My question is this: does a project iPhone / iPad created a storyboard not only work with earlier systems like iOS 4.3, 4.1, 4.0, 3 or even iPhone, 3G, etc.?
Thank you in advance
Storyboards are introduced in iOS 5 and there for can't be used on iOS 4 or lower.
Also the version of Xcode does reflect the version of the iOS SDK used. Nor dus the device version tell you any thing about the version of iOS it is running. (except you will no the max version it can run)
ARC is a new way to save the developer time on writing code, since you do not have to release object your self. The compiler will take care of this. ARC is support for any device running iOS 4.0 or higher.

How to run the application on previous versions

Iam developing one iPad application in Xcode 4.3 with ios 5 and iam using ARC mechanism.If i run this application from first version of ipad then application will be crash or not.Please let me know the problems with ARC.
The documentation is pretty clear on this:
ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit
applications) and for iOS 4 and iOS 5. Weak references are not
supported in Mac OS X v10.6 and iOS 4.
Original iPads came with iOS 3.2, though they are eligible for a free update to 5.x.
ARC is a compile time feature, so it will run.
But you should also check if you app runs on all support version of iOS that you will support.

Making iPhone App iOS 5 Compatible

I have developed the app using Base SDK 4.3.
I want to make sure my app is iOS 5 compatible.
In that case, should I change my base SDK to 5.0 or keep it at 4.3 and test it in iPhone 5 Simulator?
Please let me know.
Thanks!
Here is what I have done on mine:
Once you installed the latest version of xCode 4.2, you can't go back to SDK 4.3.
A. So Base SDK will be set at SDK 5.0.
B. If you still want to support iOS 4.3 devices then set your "iOS Deployment Target" to iOS 4.3 or whatever minimum version you still want to support.
C. Now you can test your app on Simulator/devices with iOS 4.3 or whatever minimum version and iOS 5.0 as well.
If you change your depoloyment target to 5.0, your app will be only available for devices that run iOS 5.0. Keep it at 4.3 (edit: sorry, you're talking about base sdk here, but still leave your depoloyment as is) and test in the iOS 5 Simulator. You should definately do the same to a device with iOS 5.0 as well! (Your base sdk is not relevant in your case -- change it to 5.0 if you need to use APIs from 5.0)
More about deployement targets here.
First of all if you want to make sure test on a real device instead of simulator.
Second, you should compile for iOS 5.0 and check any errors/warnings.
Third, you can set iOS Deployment Target for 4.3 and test on 5.0 simulator

iPhone 3.2 simulator

I'm working with a legacy app with a deployment target of 3.0. I have a crash being reported on iOS 3.1.3 for iPhone. In xcode 4 the only 3.x simulator I see listed is iPad 3.2
How do I test iOS 3.1.3 for iPhone?
See Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs for an extended discussion of this topic. Also, links to older Xcode and iOS SDK versions can be found at http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/.
Buy a used iPhone or iPod Touch that has 3.1.3 installed and don't update the iOS on it. I have a 3G with 313, no cell service and just use it for testing on wifi. This is also useful to see check what the performance is like on a slower phone.
However, many 3.1.3 crashes are caused by using a 4.0 API call or object that is only in 4.0. You can find those problems on the 3.2 simulator.
It's not possible actually with Xcode4. If you can get old version of Xcode3.1 with iOS SDK 3.1 and install it side by side with Xcode4 then it may be possible.