ios app build for version 5.0.1uploaded to app store can be run on ios 5.1? - iphone

I did build app for ios 5.0.1 using xcode 4.2 and uploaded it on apple store. They rejected my app due to crash issue occurs when they install and run on ios 5.1.
Could you please let me know if we build an app for ios 5.0.1 will not be run on ios5.1 iphone device.
What will be the way so I can approved my app at apple store that is build for ios 5.0.1.
But two days ago they approved another app that is build for ios 5.0.1.
Should I query to apple store.
Please reply me thank a lot for time frame given to my ques.

The app can run in iOS 5.1, the thing is that you dont know how that app is going to work on 5.1, so probably you are using something that is allowed in 5.0.1, and in 5.1 is crashing.
Your only option now, is to download the 5.1 on your xCode and check what is going on.

Yes, Apple will approve apps that are built using the 5.0 SDK, though probably not anything earlier. They pretty much always test using the latest version of the OS so you should absolutely test with it before submitting. I'd venture that there's no reason not to develop with the latest too.
The changes between 5.0 and 5.1 are not huge so, chances are, you do have a bug. Apple normally send crash reports when they reject for these reasons.

Related

Installing older iOS for device testing

It used to be simpler to test versions of the iOS that were older than the currently shipping iOS. I can't seem to find a way to do it now that Apple calls home when trying to restore a device. If the device is eligible for a more recent iOS, iTunes and XCode 4.5 force you to upgrade the iOS.
In my case, I have an iPhone 4 that I want to test with iOS 5.1.1. I have the .ipsw file that actually was used on this device. iTunes generates an "not eligible" error when I try and force the restore from this .ipsw. XCode 4.5 does also. My understanding is that Apple is no longer signing 5.1.1 and my device is eligible for iOS 6, the reason for the error.
In the past, I had enough devices laying around that I shelved and used for testing. I don't have that luxury now.
Two questions:
1. Is there any way to install an older iOS on device that is eligible for a newer iOS?
2. How are you testing on older iOS versions?
I welcome suggestions
No, you cannot install an older iOS unless you are jailbroken and your SHSH blobs were stored with Cydia or TinyUmbrella.
Most people use the simulator, or older devices.
https://developer.apple.com/downloads/index.action
can be used to find old xcodes and ios SDKs.

iOS app maximum iOS version support

I have developed my app in Xcode 4.1 and iOS SDK version(Base SDK Version) is iOS 4.3 So, will this app run on iPhone with iOS 5 and/or iOS 6 or not?
I think the app can be run on a higher version of the OS than the Deployment Target. Is this right? I appreciate any help.
Yes, your app will run on anything that is iOS 4.3 or newer. That is, assuming you aren't using any depreciated methods that are removed from a future iOS release. You can check if things have been depreciated/removed through the documentation.
It doesn't matter with which Xcode you build your app, the base SDK signifies the lowest system your app is supporting.
You app can and will run on newer systems.
If you want to make an update to your app, you'll need to pay attention to depreciated methods for the newer systems or you will get rejected and won't be able to update in the App Store.
Yes, it will for sure run in higher versions than Deployment Target.
However, is always recommended to run also in newer versions as they are released, to check that every API used is still running fine (specially if they were deprecated).

If my build targets iOS 5.0, what happens when older OS versions try to download/run it?

I recently submitted an app to the app store. My iOS version target is 5.0.
What will happen when users with older iOS versions try download my app?
If users download it from iTunes on their computer, it will download but they won't be able to sync it to their iDevices. But if they try to download it directly from their iDevice, the device will pop up an alert, saying that they won't be able to download it.
But, most app right now has lower iOS version target for broader audience.
When users of an older iOS try to buy/install it they will get an alert that says they need iOS5 to run this app....and not be able to purchase
If you want to actually test this, you can change the target build for your app and run it in a simulator/test phone to see what happens.
If there is anything that is in your iPhone app that is iOS 5 only, there should be some problems. ARC and weak references are compatible with iOS 4.x, but not iOS 3.x.
EDIT: Make sure that the minimum OS required is not also set to iOS 5, because then it will not run on any lower OS version.

Does build made on xcode 3.2 runs on IOS 5

May be this will be silliest question but users are facing such problems.
Sorry for same.
I have made build on xcode 3.2 which has maximum IOS 4.3 and uploaded on itunes.
Now users which are downloading application having IOS 5.0 says that application is getting crashed or vanished.
So, just want to ask that build made on xcode 3.2 runs on IOS 5.0
Please help.....
Thanks a lot....
The short answer is that you have a bug in your app.
An app compiled for iOS 4.3 should work just fine. However, as with any update to the operating system, ambiguities in API calls are tightened, undocumented behaviours vanish and some APIs become deprecated. Deprecations won't cause problems (yet), though both of the others might.
For this reason you should be testing with new versions as they become available.

Xcode deployment target

If my deployment target is set to iOS 4.1 and submitted to apple, and they test the app on iOS 4.3, would that cause the app to malfunction? My app was rejected for a bug that I am unable to recreate on my iPhone 4. The exact same device model they tested the app on. I simply cannot find the bug or error in my code. Any advice would be greatly appreciated.
If you build your app to target iOS 4.1 it should run on iOS 4.3. It's possible that your app does something that works on 4.1 but causes a problem on 4.3; I had that myself with an app already in the store, and had to post an update so it worked correctly under a newer iOS release.
Note that you can tell the iOS Simulator what version iOS to simulate: on the Hardware menu, select Version, and subsequent runs will be tested against that version of the system libraries.
The simulator is not a perfect reproduction of a real device, but hopefully you can do this to reproduce the behavior that Apple has seen on their devices.
Did you test it on your iPhone 4 with iOS 4.3? There's two parts to the puzzle. If they rejected it for crashing under iPhone 4, you have to check all the different iOS versions you claim to support. The target iOS 4.1 should still make it work on 4.3, you just might have a crash (which apparently you do). Through testing with that actual software version on your iPhone, you'll find the bug and hopefully squash it. Good luck!