We are making an iOS iPad app, that needs to work on iPads 1, which means that it has to work on iOS 5.1.1 as this is the latest iOS version supported on them.
Does this mean that the target for this app needs to be 5.1.1?
Is there a way to install iOS 5.1.1 simulator into Xcode so far I have only been able to add 5.1.
Are there any 'tricks' that need to be done to get Xcode 4.5.2 to prepare iOS 5.1.1 apps?
Thanks in advance.
Yes, but it can be as low as you want it to be (target iOS 4.3 for all Xcode cares).
No, iOS 5.1.1 was not released as a new simulator (bug fix builds are rarely sent out to developers as new simulators).
Just link to the highest possible SDK and set the deployment target correctly, and you should be fine.
Related
I have developed an app on Xcode 5.1.1 with minimum version of iOS set as 7.1. I am getting ready to submit this app to apple. But i can only set minimum version up to 6.0. My question is will my app work for someone with iOS verion 4.0 when they download it from app store?
You just need to set the deployment target on the project, but that will not be your problem. You need to develop your app from the beginning using a real device with the minimum target os version installed.
To target iOS 4.3 you can't use the following:
Storyboards (iOS 5)
AutoLayout (iOS 6)
Collection Views (iOS 6)
...
Apple pegs iOS 7 distribution at 74%, iOS 6 at 22% so 96% of all iOS devices are running iOS 6 or better. Over 700 million iOS devices have been sold. It is really not worth the development effort to target anything less then 6.0 and many would argue to target 7. You need to fully test your app on a device running each os version your target.
I think device with iOS version <= 6.0 cannot download your app from AppStore :)
Is it possible to create an application that could be executed on iOS 5 devices with the new Xcode 5? On the software update page, within the app store, there is an Xcode 5 update available, but i am wondering if it would be a wise thing to do to update to Xcode 5.
My major concern is whether i could still create applications targeting iOS 5, and if i could still work on old projects targeting iOS 5.
I have searched through SO but seems there is not much related resources yet. Please shed some light on this. Thanks!
in xcode5 Preference you can download the simulator for iOS 5.0, iOS 5.1, iOS 6.0, iOS 6.1 like below image from Xcode Download preference:
After set Deployment Target:-
here you getting option for testing which simulatore:-
One thing of note:
The iOS 5 simulator is only available for download if you're running Xcode 5 under Mountain Lion. If you're running Mavericks then you can't download or use it.
Yes , you can create and test your application on iOS 5.0 simulator too in Xcode 5.
They would just be created with the iOS 7.0 SDK as the base SDK
Yes you can still do App compatible with iOS5
Just set the in your projets settings (General tab)
But you have to be aware that by default, XCode will use the last SDK (7.0), this means that your app will have the new iOS7 native design on iOS7 devices
Yes it is possible, in the project configuration you have to select the correct Deployment Target (in your case 5.0).
The only problem is that you are creating an app with the new SDK 7.0, so your application will use the new user experience.
I am new to iOS. With iOS 7 release I am struggling to find how to target my app for previous versions but building from new iOS 7.
I do not know if at all this is possible. but iOS has changed app UI totally, but can not do all change now. So I have been told to build it on new version but target should be for old, so that no UI changes to be done.
Something like building from Xcode 5 but iOS should be 6.1. I do have both Xcode running on my Mac.
If I open both it shows: Xcode 5 - iOS 7, Xcode 4.6 - iOS 6.1. How can I use Xcode 5 to target iOS 6.1?
As far as I know you can't deploy only for iOS6.x using xcode 5, but you can deploy for iOS7 and iOS6, setting the deployment target ad Raptor said.
If you want to deploy only for iOS6 you can download the old xcode 4.6.3 from apple site and make the procedure from there.
I guess your question is How to build iOS app with iOS6.1 SDK in XCode5. Am i right?
You must install iOS6.1 SDK (iphoneos6.1 not simulator iOS6.1) to your XCode first. This question Is it possible to install iOS6 SDK on Xcode 5? could help you to install iOS6.1 SDK.
Than you could configure your project using iOS6.1 SDK to build your app like below:
If you are looking to test your app on lower iOS simulators.
go to Xcode - > Preferences - > Downloads
Over here download the desired simulator.
Once you have downloaded and installed it you can test your application on lower iOS versions.
I have build the app using Xcode 4.2.1 and iOS 5.0 SDK target, now i am have iOS 5.1 in my iPad device, what i have to know is, if i upgrade my device to iOS 5.1.1, will my app work. I just googled it, but i can't find solution. Any help appreciated. Thanks.
Yes it will work, it will also work on any ios in the future (ios 6+ etc..)
Please check my answer here Will my app work with a new iOS?
If you're talking of deployment for testing, you need at least Xcode 4.3 (for Lion only) to be able to run your app on a device on iOS 5.1
I have tested my app build with Xcode 4.2.1 and 5.1 deployment target, now i can work the app in iOS 5.1.1 installed device.
Note :
Make sure your Xcode have iOS 5.1 SDK Frameworks support.
Now, I use Xcode 4.2 supporting iOS 5.0. Apple has just released iOS 5.0.1 beta 2. I can install it on my iPhone.
I want to test with this beta version, i.e build code from Xcode.
How do I build code from Xcode 4.2 for device of iOS 5.0.1 beta?
Please help
In exactly the same way that you would do so for iOS 5.0. We can't talk about beta versions of the software, but we can talk about what happens when newer versions of iOS are released. When you connect a device with a newer version of iOS installed, the Xcode Organizer will give you a message like:
Xcode does not have debugging information for the version of iOS on the device named “Dev iPhone”. Xcode can collect debugging data from the device to enable development with this version of iOS. This process only needs to be done once per iOS version, and will take several minutes.
You simply click OK or similar, and Xcode downloads the necessary debugging data. You can then build to the device from Xcode and use all the debugging tools as usual. This process works for point releases. It is highly unlikely this would work for major updates (e.g. if iOS 6 was released) and it may or may not work for iOS 5.1, depending on the changes included. But when Apple have not released a new version of Xcode to developers, you can be sure it is because one is not required.
It is important to understand the distinction between an updated version of iOS (for the device) and the iOS SDK (for Xcode). A point release of iOS does not necessarily require any change to the iOS SDK, and therefore with Xcode's ability now to download the debugging information on demand (a feature that has been around for a while), you don't necessarily need an updated version of Xcode. Likewise, with Xcode 4.2 you still set the iOS 5.0 as your base SDK even if you are setting an earlier version (e.g. iOS 4.2) as your deployment target. You don't need the iOS SDK v4.2 to target iOS 4.2 for deployment. (Just make sure you add back "armv6" to targeted architectures in your build settings, if you still want to support the iPhone 3G and equivalent iPods, as in Xcode 4.2 this is not included by default.)