HISE Logo Forum
    • Categories
    • Register
    • Login

    Setting up my M1 mac for Universal binary compiles....

    Scheduled Pinned Locked Moved General Questions
    19 Posts 6 Posters 673 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.
    • LindonL
      Lindon
      last edited by

      Okay I recently ordered and got a new Windows PC - and its waaaay faster than my old one - so I really like the speed - so it was time to upgrade the Mac side of the systems too...

      So I've ordered a new M1 based Mac Mini.

      As many of you may know I'm a complete novice with MacOS, so all of you currently using M1 Macs here's some questions about getting set up to "do" universal binary compiles:

      1. What OS do I need to be running? - I'm guessing its coming with V12(Monterey)
      2. What version of Xcode do I need (bearing in mind that there's at least one of the later versions that wont work with HISE)
      3. How do I set up projucer to "do" universal binary builds? Or is it even in projucer that I do this? So a better question might be "how do I get myself set up to do UB builds?"

      HISE Development for hire.
      www.channelrobot.com

      d.healeyD A 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @Lindon
        last edited by

        @Lindon Monterey. 13.1. Same as Intel Mac, universal build should happen automatically.

        HISE itself runs under Rosetta, there is no M1 HISE but your projects will be.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by Lindon

          @d-healey said in Setting up my M1 mac for Universal binary compiles....:

          @Lindon Monterey. 13.1. Same as Intel Mac, universal build should happen automatically.

          HISE itself runs under Rosetta, there is no M1 HISE but your projects will be.

          Great thanks - is there anything special I need to do to get HISE to run under Rosetta? Assuming not, but checking just in case...

          HISE Development for hire.
          www.channelrobot.com

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Lindon
            last edited by

            @Lindon Not as far as I know

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @d.healey
              last edited by Lindon

              @d-healey ok great, thanks again - now just to sit on my hands and wait for it to get shipped.....oh except to ask -- where do I get XCode 13.1 from?

              HISE Development for hire.
              www.channelrobot.com

              d.healeyD orangeO 2 Replies Last reply Reply Quote 0
              • d.healeyD
                d.healey @Lindon
                last edited by

                @Lindon If you have an Apple developer account there is a page you can download all the old versions. I can't remember the link so you'll need to Google

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 0
                • orangeO
                  orange @Lindon
                  last edited by

                  @Lindon You can download old versions from here: https://developer.apple.com/download/all/

                  You need to login to your Apple Developer account to see that page.

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  T 1 Reply Last reply Reply Quote 2
                  • T
                    thet @orange
                    last edited by

                    Hi! I'm just trying out HISE for the first time (on an M1 Mac)

                    Is the info on this thread still correct for HISE 3.0.1?

                    I have Xcode 13.2 Do I still need to downgrade to 13.1?

                    thanks!

                    I also saw on another thread that there is no need for ipp on mac, is that right?

                    Christoph HartC 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @thet
                      last edited by

                      Nope the latest Xcode version works too. And yes you can disable IPP on macOS

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        thet @Christoph Hart
                        last edited by

                        @Christoph-Hart thanks - yes it seems to compile and run, though as a debug version, but thats just my ignorance of Xcode I think.

                        I tried to export an au plugin using the tutorial examples, but it finished suspiciously quickly and I don't think it did it. can't find any output anyway.

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @thet
                          last edited by

                          @thet Build for profiling is what you want. The AU (.component) will have been placed in the correct folder on your system so that when you open you DAW it should be there waiting for you.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            thet @d.healey
                            last edited by

                            @d-healey thanks. Yes build for profiling works, looks like archive will also work.

                            There's a bunch of errors in terminal when I try to export the AUi

                            HISE/HISE-3.0.1/tools/Projucer/Projucer.app/Contents/MacOS/Projucer: No such file or directory
                            

                            turns out the folder is actually called projucer - renamed it to Projucer and got a bit further.

                            now I have this error:

                            Compiling Instrument plugin BasicSynth ...
                            xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              thet @thet
                              last edited by

                              @thet I tried exporting as a vst as well, it just says VST SDK is missing no matter what I do, I worked through a long thread from several years ago and tried all the things it said, but never got past that error.

                              the zip file of the sdk is there, I tried that, and copying the sdk out of the JUCE location, and deleteing cahes and so on..

                              I think there may be naming and path problems in the default setup.

                              could it be that I'm on a macos case sensitive drive? is naming in hise assumed to not be case sensitive?

                              is there anyone on an M1 mac that is successfully exporting to vst?

                              vst3 will do I don't care about vst2.

                              I have tried with and without the vst3 enable box ticked in settings.

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @thet
                                last edited by

                                @thet Perhaps you missed the step of extracting the VST SDK?

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  thet @d.healey
                                  last edited by

                                  @d-healey I had extracted the sdk from the zip file but I had left it in the directory created byy the unzipping so it was at : /HISE-3.0.1/tools/SDK/sdk/VST3 SDK

                                  i moved it to: /HISE-3.0.1/tools/SDK/VST3 SDK

                                  and that fixed that error

                                  now however I have the same error that I had when trying to export as AU

                                  xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @thet
                                    last edited by

                                    @thet That one has been covered before, I think a search of the forum or Google will reveal an answer. I can't remember what the solution was.

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      thet @d.healey
                                      last edited by thet

                                      @d-healey right fixed that with this:

                                      xcode-select — install
                                      sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
                                      sudo xcodebuild -license accept

                                      now it starts compiling but complains about lack of ipp - i will check that - thought I'd told it not to use ipp.

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @thet
                                        last edited by

                                        @thet Did you disable IPP in your project's preferences?

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          andioak @Lindon
                                          last edited by andioak

                                          @Lindon said in Setting up my M1 mac for Universal binary compiles....:

                                          1. What OS do I need to be running? - I'm guessing its coming with V12(Monterey)

                                          Traditionally the OS that your new mac comes with is the lowest macOS version that you can run, sadly. So if there is a need for backwards compatibility (when is there not?) that may present issues. Virtualization for pure testing can of course be done in VMWare Fusion including sound and drivers actually, but building/compiling via virtualized macOS is ill advised, I tried :(

                                          1. What version of Xcode do I need (bearing in mind that there's at least one of the later versions that wont work with HISE)

                                          Xcode can most likely be run in a few lower versions than the latest, even though the OS is newer and not explicitly supported. Reference the Xcode versions easily here:

                                          Xcode Releases

                                          More than you ever wanted to know™

                                          favicon

                                          xcodereleases.com (xcodereleases.com)

                                          Nice overview there. But do download from your account from the link that @orange left above.

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

                                          56

                                          Online

                                          1.7k

                                          Users

                                          11.7k

                                          Topics

                                          102.1k

                                          Posts