developing ios 4.1 and deploying to ios 4.1 and above - iphone

I'm developed application with ios 4.1 sdk and I want to deploy to ios 4.1 OS and above OS iPhone and iPad.Is it possible?

Yes, it is possible, until the methods you have used are deprecated and removed in future OS.
Please have a look at the following link.
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/cross_development/Using/using.html#//apple_ref/doc/uid/20002000-SW6

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.

About iAd in my application

thanks in advance.
I have created an application for iphone and am using iAd in that.If i am using ios with version 4.0 then the app crashing because of iAd. But is installing while executing in ios with version 4.1 and later. If any one know the reason please tell me.
This crash is due to iAd migration from iOS 4.0, 4.1 to iOS 4.2. The new sdk suggests using ADBannerContentSizeIdentifier320x50 with ADBannerContentSizeIdentifierPortrait. Its all ok if its working with 4.1 and above. Just mention to use ios 4.1 and above in your app.

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.

Is it possible to target the iPad with the iOS 4.0 SDK?

Using the iOS 4.0 SDK, can I build an application for the iPad?
yes. You should get the newest SDK available though (currently 4.1 or 4.2 beta).

will a iphone 3.1 build work on 3.2, 3gs and 4.0.1

I am planning to do a app which works on 3.1 and launches on 3gs as well. Please let me know how will it be displayed when launched at iTunes connect ? will it be like works on 3.1 and above and will get installed on iphone 3.1, 3.1.2, 3gs and 4.0.1 or just works on 3.1 alone. Please enlighten me what has to be done for working on all the 4 version devices.
It seems you need to read a bit about the Base SDK and Target SDK. It can be a bit confusion, your right. There is a very nice article at: Developing iPhone Apps with iOS4 SDK, Deploying to 3.x Devices
You should have no problem in making an app that runs on all the devices you want. I hope it helps.
As long as nothing has been deprecated, it should be forward compatible.
I normally set my base SDK to 4.0 and build against 3.0 so it will work on anything 3.0 and above.