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

Bug Impossible to build an iOS project using Simulator mode

Discussion in 'iOS and tvOS' started by mickfcna, Mar 22, 2022.

  1. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello,

    I am using Unity 2019.4 and when I try to build using the Simulator (X86_64 export) mode for iOS, the build doesn't work on my project. I got these errors :
    • Mac M1
    • Mac Intel (or Rosetta)
    I try several things without sucess even changing my Unity Version. I got also the same issue using an empty project.

    Thanks for your precious help
     
  2. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    :( nobody?
     
  3. PavelLU

    PavelLU

    Unity Technologies

    Joined:
    Feb 23, 2017
    Posts:
    106
    mickfcna likes this.
  4. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
  5. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello all,

    @PavelLU , I tried several things without any success.

    For Rosetta/Mac Intel :



    The exported Unity project is well configured to be deployed on simulator with x86_64 architecture (default structure).




    Once compiled, the framework is added to my project as shown in the pictures above :



    Hope it will help !
    Thanks :)
     
  6. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello All,

    I still have this issue. Can someone confirm me this is an Unity bug ?
    Regards
     
  7. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello All,

    Same issue on Unity 2021.3.
    Thanks !
     
  8. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello All,

    The project compiles well on simulator, but as soon as I encapsulate it in the SDK (using Unity as Library) it does not work anymore. The simulator mode is supported when using Unity as a Library for iOS ? I don't have this issue for Android.

    Thanks a lot,
     
  9. Arcanebits

    Arcanebits

    Joined:
    Dec 18, 2013
    Posts:
    108
    Hi, Did you manage to fix it? let me tell you im on a similar terrain, but no much help receibed... and dont even try apple forums... they are the emptyness of all forums...
     
  10. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Nope still have this problem :-(
     
  11. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello,

    I made several things and I think I understand the problem. It works on Android only with a Mac M1 (ARM) bu the same build on Mac Intel doesn't work (both iOS or Android). The simulator mode seems not compatible with Intel architecture.
     
  12. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello Unity,

    Do you have any update for this problem ?
     
  13. valhear

    valhear

    Joined:
    Nov 24, 2021
    Posts:
    1
    I had the same issue even with newer version of Unity, but was able to build Unity framework with Xcode 14.0.1