I need some help compiling JUCE for a new M2 macbook air.
Some screenshots of settings that look like they might be relevant and the error.
Very little documentation about what these settings do or how they should be set.
Mac OS 13.2.1
I see this error in cubase
“Unsupported architecture ARM64Bit” error in Cubase 12.
The standalone version of the plugin seems to be built.
Just boilerplate JUCE code in the plugin
Juce version 7.0.5
mac os Model Name: MacBook Air
Model Identifier: Mac14,2
Model Number: Z15T0005NLL/A
Chip: Apple M2
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 24 GB
System Firmware Version: 8419.80.7
OS Loader Version: 8419.80.7
Serial Number (system): XCK2P29KG5
Hardware UUID: 493211E1-4015-535F-B450-63371CC8416B
Provisioning UDID: 00008112-0008318026F9401E
Activation Lock Status: Enabled
I would try to set in Xcode under destinations “Any Mac” instead of My Mac.
Chances are (guessing), Cubase 12 runs under Rosetta, in which case it would need an intel plugin.
A quick google told me Cubase 12 should be able to run M2 natively, but who knows…
Ok this WORKED. Checking only arm64 in the projucer.
Open using Rosetta unchecked in cubase 12.
In Xcode In “product”-> destination checking "any mac(silicon)
thanks for your replies