HaxeFoundation / hxcpp

Runtime files for c++ backend for haxe
Other
296 stars 184 forks source link

Arm64 for iOS Simulator #1068

Open jeremyfa opened 11 months ago

jeremyfa commented 11 months ago

Now that there are plenty of Apple Silicon macs in the wild, the recommended architectures for building for iOS are:

I tried to modify the iphonesim toolchain XML to make it build the arm64 architecture when HXCPP_ARM64 is defined, but at the end of the build process, Xcode is complaining that my arm64 binary is made for iphoneos and not iphonesimulator.

Wondering if I'm missing something, so opening this issue:

I am willing to try to make those changes and make a pull request for this, but if you have any pointers to what should be reviewed to make these changes I'm all ears (@hughsando).