Impossible to build an iOS project using Simulator mode

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

:frowning: nobody?

Hi, Native Apple silicon support added in Unity 2021.2.0
can you please try Unity versions above 2021.2

1 Like

I got the same error using Unity 2021.2.17, I made the build with a Macbook Pro 2019. I’m using Unity as a library in an iOS SDK project. By the way I think this post got the same issue : https://discussions.unity.com/t/826959

I try something and let you know !

Thanks Pavel

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 :slight_smile:

Hello All,

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

Hello All,

Same issue on Unity 2021.3.
Thanks !

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,

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…

Nope still have this problem :frowning:

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.

Hello Unity,

Do you have any update for this problem ?

I had the same issue even with newer version of Unity, but was able to build Unity framework with Xcode 14.0.1