macOS Catalina - Rez error (bad CPU type in executable)



  • Hey all,
    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.



  • 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 🙂



  • Can confirm this works with Catalina 10.5.7 and using the command line tools from Xcode 12, looks like just the Rez and ResManager. I copied the xcode 12 versions from Xcode12.app/Contents/Developer/usr/bin/Rez to Xcode10



  • @tompower Hey man. So in this case should I download Xcode 12, get the Rez file, and finally download xcode 10?


Log in to reply
 

17
Online

1.1k
Users

3.8k
Topics

33.3k
Posts