Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[SOLVED] iOS simulators not for selection as destination

Discussion in 'iOS and tvOS' started by Shushustorm, Sep 1, 2015.

  1. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    Hello everyone!
    Could this problem be caused by Unity?
    I have problems with this since updating from Xcode version 6.1 to 6.2.
    None of the simulators show up as destination to run my apps on.
    They do appear in Window -> Devices, though.
    It hasn't been working for months now. Even after updating to 6.3 and 6.4 didn't fix it.

    Many thanks for any help,
    Greetings,
    Shu
     
  2. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    Alright, after months of research, I finally found out this has actually something to do with the player settings inside Unity. All this time I was looking up Xcode related problems.
    The answer presented here did the trick:
    http://answers.unity3d.com/questions/385202/xcode-simulator-doesnt-work-with-unity-build.html

    Basically, I had to set the SDK version to Simulator SDK.
    Is this a new setting? Because obviously, I can only choose to build for simulators or for devices.
    When using Xcode 6.1, I was able to choose from both, devices and simulators as destination in Xcode.
    I guess this isn't possible anymore? So if I want to test it on simulators and real devices, I have to build twice?
     
  3. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    This was a bug in Xcode -- it showed target devices that were disabled in the project. If you tried to build for simulator, you would have got errors.

    Unity never supported creating a single build for both simulator and device. You need to build twice.
     
    Shushustorm likes this.
  4. Shushustorm

    Shushustorm

    Joined:
    Jan 6, 2014
    Posts:
    1,084
    I see. Thanks for clarifying! This makes sense then.