macOS Catalina - Rez error (bad CPU type in executable)
imagiro last edited by
I'm trying to build an AU for my piano plugin.
The build goes fine, but right at the end I get a Rez error:
rez: error: can't exec '/Users/admin/Downloads/Xcode.app/Contents/Developer/usr/bin/Rez (errno="Bad CPU type in executable
I know that catalina refuses to run 32 bit apps and it seems like that's what its doing here - so how are people building using catalina, is there a 64 bit version of Rez somewhere? My JUCE project is set to only build the 64-bit AUi.
I know @dustbro is using catalina, so any input you might have would be greatly appreciated
I'm using XCode 10.3, as 11 was giving errors.
n.b. I don't have a mac, but i was able to rent a cloud mac server. Unfortunately I chose Catalina without realising all the trouble it would cause me - downgrading the OS would mean i have to buy a new server, which I don't want to do I can also build, sign and notarize VSTs just fine.
imagiro last edited by imagiro
I managed to fix this - the easy way would've been to download the newest version of XCode and use the command line tools from that, but I didn't have enough space on my cloud server. So I downloaded just the command line tools for XCode 11 and replaced the command line tools inside of the XCode 10 .app with the new ones. Hopefully this helps someone else