This question already has answers here:
Install iOS 6 simulator on Xcode 6
(3 answers)
Closed 8 years ago.
Preferences -> Downloads only shows ios 7.1 Simulator and ios 7.0 simulator.
My Deployment Target is 5.0.
Why can I no longer get at least the ios 6 simulator?
Running Xcode 6.0 (6A313)
Mac 10.9.4
And why does is only show "iPhone 5" as an option for the simulator? The 4S can run iOS 7...
To get the iOS 6 simulator you need to download an older version of Xcode. Log into developer.apple.com and you will see this link:
That will take you to:
https://developer.apple.com/downloads/index.action?name=Xcode
You will then download Xcode 5 and have access to the old iOS 6 simulator. You can have both Xcode 5 and Xcode 6 installed on your machine at the same time.
To add the iPhone 4S as a simulator: In xCode go to Windows -> Devices and press the plus in the bottom corner and add the devices that you wish.
Related
I'm working on a new project having iOS 9 as deployment target in Xcode 9.1. In the simulator I have the iPhone 4s but its iOS version is not displayed. I searched about the support of iOS 9 in this iPhone and I found some answers saying that the iPhone 4s is supporting the iOS 9 and others saying the opposite so I'm confused. At this date, is iOS 9 supported on iPhone 4s?
Yes, iOS 9 is supported on iPhone 4S. but iOS 10 is not supported. Last supported is iOS 9.3.5
You can see the Simulator and iOS in XCode, Window > Devices and Simulator or Cmd+Shift+2.
In the Simulator Tab, you can see the list of simulators. Normally by defaults, iPhone 4S Simulator is installed with iOS 8.1.
If you need to see more iPhone 4S with iOS 9.3 e.g. you can press the '+' on the left below to add more simulators. And check on the 'Show as run destination' to run the app on this simulator in XCode.
If you do not have iOS 9.3 simulator, you can choose the option to download more simulator or do it from XCode > Preferences > Components
How to have old simulators in new Xcode?
I have 2 SDKs (6.1 and 7.1) in my old Xcode 5.1.1 following path:
Xcode.app -> right click and <Show package contents> ->
Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
Copied both SDKs to my new Xcode, but Xcode only shows 8.4 and 9.0.
Is there any suggestion? Or maybe I can download it from somewhere (I believe there isn't)?
In Xcode if you click Window->Devices, then on the bottom left click the '+' button, then Add Simulator. There should be an option for selecting older versions of iOS Simulators.
If there isn't an option for iOS 6.1 or 7.1, after you click the '+' button, click the drop-down list for iOS Version and click download more simulators. Then just pick which ones you want.
You can't use simulator for iOS7 and earlier for XCode 7.1 - it's not compatible. Looks like Apple won't support them ever. It means you can't do this on simulator (you still can do this on real devices) at least in official way. You may not know that, but it also depends on your OSX:
El Capitan supports iOS 8.1.
Yosemite supports iOS 7.1
I haven't found any way to use any iOS 7 simulators. However, an iPhone 4 running iOS7 connected to Xcode 7.3, on MacOS X 10.11.4 using the iOS 9 SDK runs just fine.
To support iOS 7 on all devices capable of running it, you will need LaunchImages for iPhone 4 and 5 (retina), and for iPad in portrait and landscape at 1x and 2x.
I would consider supporting iOS 6 at this point to be pointless. That's iPhone 3GS. iOS 7 is pushing it; I run my code on an iPhone 4 mostly to check that its fast enough.
I am not sure if i am doing it right. Please help.
To add simulator, goto > windows > devices
problem:
1) When I tried to add simulator for iphone 5 or 4 , it show iOS version 8.3
the dialogbox show :
Simulator name : iphone 4s
Device Type : iphone 4s
iOS version : iOS8.3
Is this correct? iphone 4s should be using ios lower than ios 8 right?
How to I do testing for iphone 4/5 using simulator ?
In the Xcode menu, go to Windows > Devices, and at the bottom left click on the + button.
Xcode 6 only supports iOS 7 and iOS8. You could use iOS 7 for iPhone 4s or iPhone 5, just install the iOS 7.1 simulator from
Xcode > Preferences > Downloads.
iPhone 5 and iPhone 4S can be updated to run iOS 8, so it is perfectly ok to test iOS 8 with these phones.
Is this correct? iphone 4s should be using ios lower than ios 8 right?
It is correct. I have an actual iPhone 4s and it is running iOS 8.3. (In fact, it is my primary development testing device for iOS 8.)
You can install earlier simulators, but there is nothing wrong with what you're seeing.
(And yes, this means that in order to develop for iOS 8, you need to support screen sizes ranging from the tiny iPhone 4s to the massive iPhone 6 Plus. Good luck.)
I have installed Xcode 6.1. When I try to run application on iPhone 6/6+ it shows an error 'Unable to boot device in surest state : Creating' and for 6+ it states 'Lost connection to iPhone 6 plus'. I think this is an issue with simulator. I tried to download simulator for the same but only simulator for iOS 7 is available as shown in screenshot. How do I install simulator for iOS 8?
The iOS 8.0 simulator runtime is not supported on Xcode 6.1 or later. It is not expected to be available for download.
I am using Xcode 5 (iOS7) and now I want to develop an app, which should be compatible with all iPhone devices. Now using Xcode 5 and in Xcode 5 there is no resolution option for iPhone 6 and iPhone 6+. How to enable these resolutions in Xcode 5?
1) Can I upgrade my Xcode 5 to 6?
2) Can I upgrade my mac from 10.9 to something?
3) How to upgrade splash screen for iPhone 6+?
4) Is it possible that I used Xcode 5 for both iPhone 5 and iPhone 6?
Thanks in advance!
You need to use Xcode 6 to support iOS 8 APIs and to support native resolutions on the iPhone 6 and 6+.
Xcode 5 can't be used to support iOS 8 APIs nor native resolutions on the new iPhones.
1) Yes, install Xcode 6
2) Maybe. It depends on your Mac. But Xcode 6 works just fine on OS X 10.9.
3) Add iPhone 6 and 6+ launch images or use the new launch screen file.
(again: only works when you use the ios8 API in xcode6)
4) Sort of. Xcode 5 can be used with iOS 8 devices but only after the device has been used at least once with Xcode 6. And Xcode 5 can use the iPhone 6/6+ but not at their native resolutions. You need Xcode 6 for that.
rmaddy answered this nicely, just adding additional information here:
You will have to upgrade sooner or later, so better to do it early. In addition you can keep Xcode 5 installed alongside Xcode 6.
Both Xcode 5 and 6 work on Mavericks (10.9) and Yosemite (10.10). If your Mac hardware supports the upgrade, you should upgrade, but it really depends on your personal preferences. It is not necessary for iOS 8.
Add appropriate resolution launch images for iPhone 6 (750 x 1334 - #2x) and iPhone 6+ (1242 x 2208 - #3x) or use mentioned launch screen XIB. Detailed description in document: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html
You can run iOS 7 apps on iPhone 6 and 6+ in Xcode 5, but as previously mentioned, if the device has iOS 8 installed, Xcode 5 will not detect it unless Xcode 6 has already detected it. This means that you will not be able to run apps on iPhone 6 and 6+, without opening Xcode 6 at least once to process the device (there is no iPhone 6 with iOS7). This goes the same for iPhone 5(s/c) if they have iOS 8 installed.