Open tavurth opened 2 years ago
Anything new?
This error is most likely caused by using old Xcode with 10.15 SDK that supports only Intel macs, by default godot-cpp
is building universal binary for both Intel and M1 macs.
This can be fixed by updating Xcode (to 12.2 or newer) or adding macos_arch=x86_64
to the build command to build Intel only binary.
Yes I figured that out about 2 Seconds ago lmao. Thanks! I just removed the -arch arm64 in the SConstruct file. but you mean passing macos_arch=x86_64
as an argument to SCons?
Your Godot version: 3.4 stable
Issue description: I was following the instructions for setting up GDNative from the docs and they fail to compile on OSX stating
unsupported architecture
The exact same build directive works fine on the example repository provided here however.
Errors are shown below
URL to the documentation page: https://docs.godotengine.org/en/stable/tutorials/plugins/gdnative/gdnative-cpp-example.html