iPhone App Version - which one to keep? - iphone

I just finished my first app developed in XCode 3.2.1 in iPhone Device 3.1.2. I know that there is iPhone 4 now, does that mean that I have to upgrade to iOS 4 before I submit my app to App Store? Or do I keep two versions of my app, one is the 3.1.2 version and the other iOS 4 to cover all iphone market (old and the latest one)?

You should download and install the iOS 4.2 SDK.
You should then compile and link against the iOS 4.2 SDK.
It is likely that Apple will end support for 3.x in the near future.
Also, sort out your acceptance rate problem...

Related

Is there any way to develop iPhone app under iOS6 that targets iOS 3.1.2?

I have a very frustrating experience with recent iOS development. The situation is:
I have developed an iPhone app which targeting iOS 3.1.2, and I am about to submit to AppStore.
What I received from Apple after submission is:
I have to support iPhone 5 tall screen.
The reject message is:
iPhone 5 Optimization Requirement
To support iPhone 5, I need to update the UI and include a launch image: Default-568h#2x.png
After having the Default-568h#2x.png included, Apple rejected my submission again with reason:
Invalid Launch Image - 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.
OK, I am kind of stuck, Apple force me to support iPhone 5 screen, yet, it doesn't allow me to upload app under iOS 6 with iPhone 5 tall screen support.
So I try to compile the code with iOS 6 SDK, then what I find is in order to support iOS 6 I need to have XOS 10.7. Mine is 10.6.8.
To support 10.7 I need to upgrade my Mac to have 2GB memory and i3 duo core CPU and brah brah brah brah...which I don't have at the moment.
So, my question is:
I have XCode 3.2.2, XOS10.6.8, I want to develop iPhone app for iOS 3.1.2 and able to publish in AppStore, how can I do it?
Thank you.
Regards,
Apple will not accept an app targeting an iOS version that old. I don't think they will accept anything less than 5.0 anymore (might be 4.3 but I doubt it).
Sorry, but Xcode 3.2 is years old at this point. Apple simply doesn't support this. iOS 3.1.2 has such a negligible install base that there is almost no reason to target it any more. To support the latest features of iOS (e.g. iPhone 5 support) you need to be building apps with the latest SDK, and you will need to upgrade your development machines and Xcode. You have no choice.

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.

Can I still upload an iOS 3.2 SDK compiled app to iTunesConnect

I would like to update an iPad app, that is already existing in the app store. I have compiled that app about a year ago with XCode 3.2.4 and iOS 3.2 SDK.
Is it possible/permitted to upload an adjusted version of the app, that has been compiled with iOS 3.2 SDK again? I would like to avoid compiling the app with iOS 4.3 SDK or iOS 5 SDK (if available in a few weeks), as I would have to adjust several implementation files to optimize the app for a build with the newer SDK versions.
There seems to be no clear information related to that topic in apples docs or guideslines...
No. Apple requires apps that are uploaded to the App Store to be compiled with the latest release SDK that is available at the time.
I was finally able to successfully bring 2 apps into the App Store, that have been compiled with a iOS 3.2 SDK without any rejection by the Apple reviewers. Apple didn't require me to use the latest Build SDK (iOS 5.0 at this time).

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.

Xcode version and iPhone app submission

I am new to iPhone app development. I have an app created in XCode 3.1.3 and need to do 2 things;
1. Test it on my iPod touch (Latest OS: 4.1)
2. Submit it to the app store.
My question is, can I do both these things given that I have XCode 3.1.3 OR do I have to upgrade?
Also in case I need to upgrade, is it possible to download XCode separately (I mean without the huge 3GB SDK)
You must have the latest version to develop iOS 4.1 apps (as required by Apple for App Store submission.) As well, you must pay $99 per year for a developer account in order to gain access to on-device testing and to actually make submissions to Apple.
You need to download the whole XCode + SDK installer dmg to develop for iOS 4.1. You can not download, or update them separately. You can not submit to the App store using an SDK older than 3.0. And you should use a recent XCode/SDK combo (as in the current 4.1 release) to submit to the App store.