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 ?
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.