35

I want to test my app on iOS 7 and onwards. The only way to test my app in these OS' are using Simulator. But after upgrading my Xcode to 7 Beta, I see the iOS 8.1, 8.2, 8.3 but I get an error that they are not found. iOS7 is non existing. Is there any way to install the older OS simulators in Xcode 7 beta 5?

enter image description here

enter image description here

enter image description here

oyalhi
  • 3,834
  • 4
  • 40
  • 45
  • Please elaborate on your "error that they are not found" comment. Please provide a screenshot showing the exact error dialog and indicate what application is showing the error. – Jeremy Huddleston Sequoia Aug 21 '15 at 16:24
  • I have attached the screenshots including the error. Any pointers? – oyalhi Aug 24 '15 at 09:35
  • 1
    It looks like you have the older (Xcode 6) versions of the 8.3 sim runtime in which liblauch_sim.dylib was not signed in a way that would be usable by new security requirements in Xcode 7. There are newer versions available for Xcode 7. They SHOULD be shown in that preference pane. Obviously they arent. Please file a radar and leave a comment here with the radar number. Goto http://bugreport.apple.com – Jeremy Huddleston Sequoia Aug 24 '15 at 21:08
  • Does anyone know if you can debug from an iPhone 4 (running iOS 7) via a USB cable? – Brian Birtle Jan 03 '16 at 23:33

3 Answers3

40

Older Simulator runtimes are available for download through Xcode's preferences.

Goto Xcode -> Preferences -> Downloads to see the list of compatible legacy simulator runtimes.

El Capitan supports iOS 8.1 and newer runtimes.

Yosemite supports iOS 7.1 and newer runtimes.

There is a known issue mentioned in the Xcode release notes which prevents the iOS 7.1 simulator runtime from working in Xcode 7.

Thus, you can't currently use the iOS 7.1 simulator runtime with Xcode 7.

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86
  • 1
    Xcode -> Preferences -> Downloads shows empty list. It shows only documentation, which are all downloaded. I believe I accidentally deleted them and now I cannot download them anymore. – oyalhi Aug 23 '15 at 06:21
  • If you see none, you should file a radar at http://bugreport.apple.com including /var/log/system.log and a screenshot. – Jeremy Huddleston Sequoia Aug 23 '15 at 09:20
  • 8
    Your answer is contradicting itself; initially, you claim that you can install the simulator from preferences, then claim that it's not possible on Xcode 7. – Zorayr Oct 01 '15 at 00:15
  • 1
    @Zorayr It is not contradictory. You can download the 8.x legacy sims, not 7.1. – Jeremy Huddleston Sequoia Oct 01 '15 at 21:17
  • 5
    Updated the answer to mention that at this point, there is *no way* to install iOS7.x simulators on Xcode 7 — if you find a way, I would love to know. – Zorayr Oct 01 '15 at 21:26
  • 2
    The answer was correct and more informative before you changed it. – Jeremy Huddleston Sequoia Oct 01 '15 at 21:27
  • @JeremyHuddlestonSequoia cant we do the old trick of getting an old version of xcode with iOS7 simulator, navigating to Developer > Platforms > iPhoneSimulator.platform > Developer > SDKs, then copying the iPhoneSimulator 7 folder then pasting it into the same location of the xcode 7 package contents?? – Dave Haigh Feb 25 '16 at 09:35
0

Click on device selection tab then click on more Simulator after then you can select and install ios Simulator from new open window.

Jugal K Balara
  • 917
  • 5
  • 15
-2

You can Download it. or if you have already in your Older Xcode Version then you have to Manage it from

Window > Device

enter image description here

enter image description here

Mehul
  • 3,033
  • 23
  • 37
  • I click on Window->Devices. Then what do you do to come to Create a new simulator screen? – oyalhi Aug 23 '15 at 06:22
  • click on Plus button given below – Mehul Aug 24 '15 at 10:18
  • Yes. But this doesn't help me. I can create as many simulators as I want. They don't work. Files are missing I think and it does not let me download them. – oyalhi Aug 24 '15 at 17:03
  • @then please delete Xcode and install new one , Download Latest and Install it then follow step. it may be work – Mehul Aug 26 '15 at 07:15
  • try it once. then inform me, i will help you to find another soolution – Mehul Aug 26 '15 at 07:17