Is arm64 architecture coming for iOS Simulator builds?

We have an app that integrates Unity that gets tested with the iOS simulator. Employees are getting Apple Silicon M1 macs and need the arm64 architecture slice in order to compile and test our app in the iOS Simulator.

When I try and build the iOS Simulator project produced by Unity for the arm64 architecture the 3 library files below are missing the arm64 architecture slice.

Unity-iPhone.xcodeproj: error: The linked library ‘libil2cpp.a’ is missing one or more architectures required by this target: arm64. (in target ‘UnityFramework’ from project ‘Unity-iPhone’)

Unity-iPhone.xcodeproj: error: The linked and embedded library ‘libiPhone-lib.dylib’ is missing one or more architectures required by this target: arm64. (in target ‘UnityFramework’ from project ‘Unity-iPhone’)

Unity-iPhone.xcodeproj: error: The linked library ‘baselib.a’ is missing one or more architectures required by this target: arm64. (in target ‘UnityFramework’ from project ‘Unity-iPhone’)

** ARCHIVE FAILED **

Is arm64 support coming for these library files? Thanks.

As an alternative, you can run the app directly on M1 Macs with a normal iOS build.

1 Like

I unfortunately don’t have an M1 mac to test this theory of just running the iOS device build on the M1 mac. Why are there other companies like Firebase Analytics after version 7.2 have xcframeworks now have slices like this: ios-arm64_i386_x86_64-simulator

Don’t your employees/colleagues have the M1 Macs, though? Haha

But I do know that I had success running my Unity game on my M1 Mac with the iPad App compatibility without any modifications needed. My game does utilize some native plugins for audio and if that works for me I don’t see why it would not work for anyone else.

As for the libraries, some third party developers are not known to be agile to adapt quickly to new platform changes. It could be their build process assumes that iOS Simulator has always been x86 archs and adding an extra arch would mean changing things more than a setting in Xcode. You’ll have to either give them time or join other SDK consumers and keep the matters urgent.

1 Like