11

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

3 Answers 3

25

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.

Sign up to request clarification or add additional context in comments.

3 Comments

Just realized that myself. Thanks for posting!
In case this isn't clear, in Unity -> Player settings -> iOS tab -> Other Settings -> Target SDK is where you set "Simulator SDK"
For those looking to set this property programmatically in Unity Scripting API, it's the property PlayerSettings.iOS.sdkVersion : docs.unity3d.com/ScriptReference/…
5

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.

Comments

1

In our case we needed to show all architecture as it was built for apple silicon image

1 Comment

Yes, this and "TargetSDK = Simulator SDK" option inside Unity - 'iOS Player Settings'! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.