How to run the application on previous versions - iphone

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.

Related

What version of XCode will support iOS 3.0?

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.

can app(target os below 4.3) run on ios6

Just wonder if the app(target os below 4.3) can run on ios6.
xcode 4.5 can not build the target below 4.3, does this mean ios6 does not accept app with os target below 4.3?
Welcome any comment
Almost all apps built for older iOS versions will be able to run on future iOS versions. However, you will have difficulty building older iOS apps to newer iOS devices. Also, be careful when you release. I had been working on one of my apps in iOS 4, and it was rejected for crashing. I updated my xcode and realized some of the old code didn't work in iOS 6.
an app targeted below 4.3 should be able to run on iOS6 devices as long as the app is built with an xcode less than 4.5. at least that was the case with an app I work on and it didn't seem to cause any problems (that i'm aware of). the difference is if you want to update that app using xcode 4.5 you'll have to change the target build to at least 4.3.

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.

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.

if convert project to Automatic Reference Counting(ARC), Is it still support on iOS 3.X, 4.X?

i not sure about convert project to Automatic Reference Counting(ARC).
it still support on iOS 4.X or lower ?
thank you
From what I can gather yes - ARC is done by the compiler and should be thought of as a wizard or helper that checks all of your code and inserts the correct retain and release statements for you.
This will therefore be compatible with older iOS runtimes.
Edit:
IT will support 4.x but not 3.x
It will support iOS 4 but not iOS 3.
Still, there's no full support for iOS 4 since weak references only work on iOS 5. Quoting the Transitioning to ARC Release Notes directly from Apple:
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.