Description
When attempting to install thread realated addons the Addon Manager fails and provides a report indicating only x86_64 architecture is available when arm64e architecture is required.
This appears to be AddonManager related as it is common across multiple addons.
Fresh install of Freecad 1.0.0 on a M4 Mac Mini. I have deleted and reinstalled with a clean download of the latest version.
To reproduce the behaviour:
- Go to Addon Manager.
- Search for and select an addon (text below is for Thread profile but I get the same error for other Addons and have tried across 2 days).
- Click install.
- See error
Failed to install ThreadProfile
Git returned a non-zero exit status: 1
Called with: /usr/bin/git clone --recurse-submodules https://github.com/mwganson/ThreadProfile /Users/Fuzzy/Library/Application Support/FreeCAD/Mod/ThreadProfileReturned stderr:
xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (no such file), '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))).
Expected behaviour:
Install the selected addon.
Desktop :
- OS: MacOS 15.3.1
- Apple M4, 24Gb memory and 512Gb storage. Freecad installed to an external thunderbolt drive.
- FreeCAD Version: OS: macOS 15.3.1
Architecture: arm64
Version: 1.0.0.39109 (Git) Conda
Build type: Release
Branch: (HEAD detached at 1.0.0)
Hash: 2fcc5317fe3aee96ca73475986a577719fc78e20
Python 3.11.10, Qt 5.15.15, Coin 4.0.3, Vtk 9.3.0, OCC 7.8.1
Locale: C/Default (C)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/Fusion
Installed mods:
- QuickMeasure 2022.10.28
Additional context
Add any other context about the problem here.