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

Question Xcode 14.3 Simulator not launch when build unity 2021.3.22f1 macbook M1

Discussion in 'iOS and tvOS' started by NhamPD, Apr 10, 2023.

  1. NhamPD

    NhamPD

    Joined:
    Nov 11, 2016
    Posts:
    3
    Hi all,
    I use unity 2021.3.22f1 at macbook M1 and build ios when i update Xcode 14.3 then open it
    not find simulator to can open my game
     
  2. alikun

    alikun

    Joined:
    Oct 17, 2018
    Posts:
    16
    Hey,

    I have the same problem.
    Did you find a solution?
     
  3. coldenwebdev

    coldenwebdev

    Joined:
    Oct 11, 2021
    Posts:
    21
    Same issue here, any solutions?
     
  4. roundmonk

    roundmonk

    Joined:
    Jan 24, 2021
    Posts:
    2
    Is the problem that you are not able to select a simulator as a run destination on Xcode?

    To fix this, go to your Unity Project. Go to Edit > Project Settings > Player > Settings for iOS > Other Settings

    In the "Target SDK" field, select "Simulator SDK" from the drop-down menu. When you rebuild your project and open it on Xcode, you will be able to select a simulator as a run destination.
     
  5. coldenwebdev

    coldenwebdev

    Joined:
    Oct 11, 2021
    Posts:
    21
    The issue is I did that, I was always doing that and this time I did everything exactly the same way. Yet I still can't see the simulators..
     
  6. ashgames85

    ashgames85

    Joined:
    Apr 8, 2023
    Posts:
    1
    Same here (iOS and tvOS). Selected SDK target in player settings, but no simulators can be picked in Xcode 14.3 on an M2 MBP...
     
  7. sn0wch1ld

    sn0wch1ld

    Joined:
    Feb 2, 2022
    Posts:
    2
    same issue here, Xcode 14.3. Target SDK is Simulator SDK, yet no simulators appear
     
  8. TheDahaka

    TheDahaka

    Joined:
    Nov 11, 2016
    Posts:
    9
    Having the same issue. I think the problem is Unity sets the target architecture to x86_64 which is wrong for Apple silicon Macs. Changing it to Standard Architectures (arm64, x86_64) in Build settings for both Unity-iPhone and UnityFramework does make the simulators appear, but then the project fails with a missing symbol called message. I'm posting this in case someone can figure this out... Unity can be so frustrating sometimes :(
     
    ilmario likes this.
  9. qball13z

    qball13z

    Joined:
    Nov 30, 2013
    Posts:
    15
    Bumping as I have the same issue using 2021.3.21f1 :(
     
  10. sam_paladin

    sam_paladin

    Joined:
    Oct 5, 2021
    Posts:
    12
    I think to make simulators appear you need to go to Xcode > Product > Destination > Destination architectures and then select both (rosetta and apple silicon). So now you can basically see the simulators.

    But I've tried to run my builds against it and after splash screen nothing seems to work. Errors related to a missing symbol called error or if I run an older simulator (I want to validate that I am still supporting certain old iOS versions)

    - running iOS 16.4:

    Code (CSharp):
    1. dyld[88721]: missing symbol called
    2. Message from debugger: Terminated due to signal 6
    - running iOS 14.0:
    Code (CSharp):
    1. [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32,
    Which makes impossible to run simulator builds. In this case I am targeting iOS 13 so I want to check that my game still runs nice on that iOS version. I don't have a device that old. I am on 2021.3.22f1

    Can anybody help?

    Thanks, Sam.
     
  11. UnityGuy1717

    UnityGuy1717

    Joined:
    Mar 20, 2020
    Posts:
    13
    Has anyone made progress on this? Experiencing the issue as well
     
  12. PavelLU

    PavelLU

    Unity Technologies

    Joined:
    Feb 23, 2017
    Posts:
    106
    For anyone missing simulators on ARM-based macs with Xcode 14.3+ you need to enable Rosetta Destination Architecture in Xcode, go to: Product / Destination / Destination Architectures chose Show Rosetta Destinations | Show Both. Apple introduced this option in 14.3. Now you do not need to put Xcode itself in Rosetta mode as existed workaround before 14.3
     
  13. coldenwebdev

    coldenwebdev

    Joined:
    Oct 11, 2021
    Posts:
    21
    This solved my issue, thank you!
     
  14. jainabhishek

    jainabhishek

    Joined:
    Jul 23, 2021
    Posts:
    1

    WORKED THIS SOLUTION
     
  15. kevinkaye

    kevinkaye

    Joined:
    May 10, 2015
    Posts:
    1
    @PA
    Thank you for your help! WORKED!!!