@Sawatakashi Lol not really I only set this up last week but I had similar issues.
For the first issue on Windows you have basically solved it. When you build the AAX in Visual Studio (so the one that is in HISE's SDK folder), set it to static release. Each time you build your HISE project it will build against this version and you will be good to go. There is a post about this on the forum somewhere.
When building the AAX SDK on Xcode it was a bit more trial and error for me but I think what happens is HISE is only designed to build for arm64 or Intel slice x86_64 (depending on what you set in your Projucer). I ended up asking chat gpt for the solution to the universal binary and it gave me the right response. I found the terminal command (option 2) to be more efficient:
Option 1 – Re‑build in Xcode (GUI)
Open the project again
Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeproj
Target & Build Settings
Select the AAXLibrary_libcpp target.
In Build Settings
Architectures → Standard Architectures (arm64, x86_64)
(don’t choose “arm64 only”).
Build Active Architecture Only → No (Debug and Release).
Excluded Architectures → (leave empty)
Choose a universal build destination
In the scheme selector (the drop‑down next to the ▶︎ button) pick
Any Mac (My Mac) or Any Mac (Mac Catalyst) – not “My Mac (Apple Silicon)”.
That generic destination tells Xcode to build all valid slices.
Build (⌘B)
When it finishes, run:
lipo -info "$HOME/HISE/tools/SDK/AAX/Libs/Release/libAAXLibrary_libcpp.a"
Expected output:
Architectures in the fat file: libAAXLibrary_libcpp.a are: arm64 x86_64
Option 2 – One‑liner with xcodebuild (CLI)
From Terminal inside Libs/AAXLibrary/MacBuild/:
xcodebuild -project AAXLibrary.xcodeproj \
-target AAXLibrary_libcpp \
-configuration Release \
-sdk macosx \
ARCHS="arm64 x86_64" \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
BUILD_ACTIVE_ARCH_ONLY=NO
This explicitly asks Xcode to build both slices and drops the fat libAAXLibrary_libcpp.a in:
Libs/Release/libAAXLibrary_libcpp.a
Check it with lipo -info as above.