Exporting for iOS Simulator, but with arm64 arch impossible?

Hi guys,

I’ve tried with Unity 2020.3.x and 2021.1.x versions to no avail. When I select “Simulator SDK” from the iOS Player Settings, the arch is locked (in the select box just below) to x86_64 (see screen capture).

What about running in the Simulator on M1 macs ?

Our app is using Unity as a Library (UaaL) and is tested in the simulator in continuous integration on Github (using github actions & fastlane) and that runs on a mac with M1 proc. The build fails because it’s looking for UnityFramework with simulator SDK and arm64 arch, not with x86_64 arch.

Is there a solution to this ? I’ve tried adding the arm64 arch to the resulting Xcode project but it doesn’t work (it then looks for libil2cpp.a, etc with arm64 arch - and only has x86_64. I can’t copy the libraries from the iOS Device export (which are arm64) because they are built with the Device SDK, not Simulator SDK.

Anybody has an idea how to fix that ?? Can we have support for Simulator SDK + arm64 arch ?

Thanks!

7076056--841666--Capture d’écran 2021-04-23 à 16.48.58.png

Is there anyone from Unity able to chime in on this ?
Thanks!

Did you make it work?

I feel your pain. We too are using Unity as a Library in our app and the developers use the iOS simulator to test the app. They want an M1 arch slice for the simulator but Unity hasn’t provided one yet afaik. I can’t seem to find anything on the web if Unity will eventually add the arm64 arch for the iOS Simulator build.

1 Like

Anyone got this working?

We are working on adding support for arm64 to iOS simulator, no ETA.

3 Likes

Thank you for the update!

Its only been 3 months but seeing if there is any current information on this issue or when support may be added, thanks

When support may be added ? thanks

Seems it has been added on Unity6: