Open LewisGaul opened 8 months ago
As per https://en.wikipedia.org/wiki/MacOS_version_history#Releases, macOS has supported arm64 since "Big Sur" (v11), and I think x86_64 is only supported with some kind of compatibility layer installed. In other words, we should definitely prioritise providing an arm64 package over an x86_64 one.
The macOS versions supported by GH actions are listed at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources, with v11 being the oldest. This presumably means that pyinstaller would actually be trying to build for arm64 already (in fact, I'm not actually sure I listed the correct arch for the packages I've provided as macOS x86_64! EDIT: they do seem to be x86_64, but I'm not totally sure why/how).
I had a go at specifying the arch on this branch (see https://www.pyinstaller.org/en/stable/feature-notes.html?highlight=target-arch#macos-multi-arch-support), but this is hitting the same error.
Confirmed that pyinstaller still works fine on macOS running on x86_64, my suspicion is that the error is hit on arm64 machines that have rosetta (x86_64) active... Although would've thought the multi-arch stuff in pyinstaller would've worked with that. Need to try some stuff out on a Mac running arm64 with/without rosetta.
MacOS is disabled in the GH action 'release' due to the following error:
Note that x86_64 may not be the right architecture choice for MacOS now (in README)?