7

Forgive me if I'm missing something obvious, but since updating to XCode 7.1, I'm not seeing any option for deploying to simulators. I don't spend a ton of time in XCode so it may be just a setting somewhere, but I can't seem to find it. I had them before, and I've tried going into the Devices window and theres a list of them there, and the "Show in run destinations Menu" option is checked, but they don't appear when I try to deploy. If anyone could point me in the right direction it would be greatly appreciated.

Devices are here No Simulators Thanks,

Dylan

Electric Monk
  • 115
  • 2
  • 9

2 Answers2

17

You have to choose "Simulator SDK" in the iOS player settings, or they're not available in Xcode. You cannot have both the simulator and the device builds in the same Xcode project from Unity.

Well... without mashing them together yourself.

Almo
  • 15,538
  • 13
  • 67
  • 95
  • 1
    Just realized that myself. Thanks for posting! – Electric Monk Jan 18 '16 at 18:28
  • 2
    In case this isn't clear, in Unity -> Player settings -> iOS tab -> Other Settings -> Target SDK is where you set "Simulator SDK" – BatteryAcid Aug 27 '21 at 21:37
  • For those looking to set this property programmatically in Unity Scripting API, it's the property `PlayerSettings.iOS.sdkVersion` : https://docs.unity3d.com/ScriptReference/PlayerSettings.iOS-sdkVersion.html – Trevor Bye Apr 05 '22 at 19:15
3

This was a somewhat obvious answer once I figured it out, but hopefully this can help others. The issue wasn't with XCode but with the Unity build. I forgot to check the Build Settings > Target SDK> Build For Simulator flag in unity.

Electric Monk
  • 115
  • 2
  • 9