Don't work on mac with chip m1
Hi, I have a mac air with an m1 chip, I have done all the installation of the package in the correct way, but when I find myself changing the language on Godot the choice "python" does not appear
Ever since this cursed day Apple made it announce, I knew this time would come :trollface:
@roci33 m1 chip are not currently supported, however your PRs are welcome if you want to help on this ;-)
- Godot already supports m1 (it ships universal binaries for macOS)
- python-build-standalone also supports m1: https://github.com/indygreg/python-build-standalone/releases/tag/20210506 (
aarch64-apple-darwinis macOS/m1,x86_64-apple-darwinis macOS/intel)
So you need to copy and modify the platform osx-64 file In theory it should be mostly copy/replace so nothing fancy here ^^
After that pythonscript.gdnlib should also be modified to add m1 path
And finally you should add the build to the CI, Github action doesn't provide m1 machine yet, so you'll have to build on intel and skip the test phase (typically copy the 🍎 macOS build build and rename them into 🍎 macOS/intel build and 🍏 macOS/m1 build).