HISE Logo Forum
    • Categories
    • Register
    • Login

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

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 822 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • imagiroI
      imagiro
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • imagiroI
        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 :)

        1 Reply Last reply Reply Quote 2
        • T
          tompower
          last edited by

          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

          S 1 Reply Last reply Reply Quote 0
          • S
            Sawer @tompower
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            47

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts