Choose a different simulator in Xcode 6 - ios

How to choose a different simulator(other than iOS 8) in Xcode 6?. I have successfully installed the iOS 7 simulator from Xcode->Preference->Downloads
But it is not listing in the available simulators for running
Any one know how can i install iOS7 simulator in Xcode 6?

Once installed iOS 7 simulator, in Xcode 6 go Window > Devices, click on bottom left corner + button and add iOS 7 simulator. Then you can choose it in your Archive Scheme.

Also make sure your deployment target is set to at least <= 7.0 or else you'll only see the iOS 8 simulators

Related

Xcode 14 and iOS 5.5 simulators

After updating to Xcode 14 with iOS 16, I'm not seeing any 5.5 devices - makes sense, as Xcode simulators only seem to support one iOS, and none of the 5.5 devices (for instance iPhone 8 Plus) run iOS 16.
However, 5.5 screenshots are still mandatory for the App store. So how do I create these screenshots? The solutions I can think of are these
Using physical 5.5 device like iPhone 8 Plus (I don't have one)
Downgrade Xcode to version 13 in order to support iOS 15. I would very much like to avoid this, besides some of my Mac setup is Virtual and I am not in control of the Xcode version)
Download simulators
Go to Window
Select `Devices and Simulators
Click on the plus button in the bottom left corner.
Click on OS Version dropdown
Select Download more simulator runtimes
Click on the plus button in the bottom left corner.
Select iOS
Select the desired iOS version and wait for the download.
Now, you can create a desired simulator with the desired iOS.
Remember, you can generate your screenshots based on the device size! and no need for specific simulator by the way.

Is there an iPhone SE simulator for Xcode 11, iOS 13?

I'm running Xcode 11.0 on macOS Mojave (10.14.6) and though the iPhone SE is officially supported on iOS 13, it doesn't appear in the list of simulators.
It can't be added nor downloaded, as far as I can see. Any ideas?
Xcode 11 doesn't automatically add every possible simulator. But you can add an iPhone SE iOS 13 simulator.
In Xcode, click on the Window menu and select Devices and Simulators. Select the Simulators tab. Tap the + in the bottom-left corner. Give the new simulator a name. Select iPhone SE as the device type. Enter iOS 13 as the OS Version.
Now you have what you need.
Edit: This is still valid with XCode 12.3 and iOS 14.3 as of January 2020
Also can be useful. The problem may be in your project preferences. If downloading simulators didn't work, try this. Open you project in Xcode -> Choose your project on the Navigator which is on the left side
Navigator
Then in the Deployment Info in target tab choose IOS version for your project (choose 10 or 11 for all simulator displaying)
Deployment Info

How to identify iOS 8 and iOS 9 simulators in iPhoneSimulator?

I have downloaded iOS 8.4 simulator in XCode 7.1. But in my simulator list lot of simulator names shown? How do identify the iOS 9 and iOS 8 simulator ?
You can try going to Xcode ~> Window ~> Devices
And then either:
delete or rename (right click on simulator of interest)
add a new simulator (click the + button in left-bottom corner). You can choose iOS version, device type, add custom name to it, etc.
Click Simulator First then Click the window option in tool bar that shows the simulator details.
Click -->Simulator --> Window(ToolBar)

iOS 6 and 7 simulators in Xcode 7

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.

iOS 5 iPhone Simulator

My app is crashing on iOS 5, but I have no idea what's causing this. All my devices are updated to iOS 6 (I cannot downgrade) and the issue is on iPad 1 which cannot be updated to iOS 6.
I am wondering if there's a way I can use the simulator with iOS 5 to test/debug this? Is this possible?
Thanks
Yes you probably can (it's possible that the problem only appears on a device, not in the simulator).
To download the iOS 5 simulator (iPhone & iPad), go to the settings in Xcode, in the "Downloads" section, and install iOS 5.0 and/or iOS 5.1 simulators. Then select the appropriate simulator on the upper left corner of the main window of Xcode before running your app. Also make sure the deployment target of your app is set to iOS 5.0 (first item on the list of the left panel in the main window, select your target and in the "Summary" tab, set your deployment target).

Resources