HISE Logo Forum
    • Categories
    • Register
    • Login

    Universal Binary on M1 Mac

    Scheduled Pinned Locked Moved General Questions
    15 Posts 4 Posters 1.0k 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.
    • ?
      A Former User
      last edited by A Former User

      Just trying to export the plugin on my M1 Mac and I need it to be an universal binary for Intel & M1.

      On M1 Macs, do we need to do something in Hise while exporting the plugins for the universal binaries? Or just exporting is enough?

      orangeO 1 Reply Last reply Reply Quote 0
      • orangeO
        orange @A Former User
        last edited by

        @harris-rosendahl I think you should be ok with just exporting on an Apple Silicon mac computer.

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @orange
          last edited by A Former User

          @orange said in Universal Binary on M1 Mac:

          @harris-rosendahl I think you should be ok with just exporting on an Apple Silicon mac computer.

          But when I open the autogenerated juice project in the Projucer, there is only x86_64 is checked.

          So do I need to first generate the juice project file and then check the arm architectures and compile from Xcode manually?

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @A Former User
            last edited by

            @harris-rosendahl Which version of HISE are you using?

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

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @d.healey
              last edited by A Former User

              @d-healey said in Universal Binary on M1 Mac:

              @harris-rosendahl Which version of HISE are you using?

              The current develop branch. M1 Mac mini, Monterey, Xcode 13.1

              trillbillyT 1 Reply Last reply Reply Quote 0
              • trillbillyT
                trillbilly @A Former User
                last edited by trillbilly

                @harris-rosendahl that's what I have too do. I build the plugin in HISE first until it gives me an error. Then open the auto-generated JUCER file and select the correct architecture, save and open in IDE.

                From there, xcode should be able to handle the rest.

                EDIT: I'm on an old Mac Mini with either Catalina or Big Sur, I can't remember now. I only use it to export for Apple.

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

                  @trillbilly I think that's a different issue. OP didn't mention an error. Also OP's issue is specific to M1 system, I assume you're on an Intel system?

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

                  trillbillyT 1 Reply Last reply Reply Quote 0
                  • trillbillyT
                    trillbilly @d.healey
                    last edited by

                    @d-healey I am. I guess it sounded like a familiar story lol.

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

                      @trillbilly Make a new thread about your issues if you want help solving them because they sound fixable.

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

                      trillbillyT 1 Reply Last reply Reply Quote 0
                      • trillbillyT
                        trillbilly @d.healey
                        last edited by

                        @d-healey I may. It works for me for the time being. Ive got other things Id rather fix and work on in the meantime. I was just trying to give a bit of help if I could but apparently Im still a bit of a newb.

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @trillbilly
                          last edited by A Former User

                          @trillbilly Do you directly export the plugins from Hise as universal binaries (M1 & Intel)?

                          trillbillyT 1 Reply Last reply Reply Quote 0
                          • trillbillyT
                            trillbilly @A Former User
                            last edited by

                            @harris-rosendahl I just Export the plugin from HISE as you typically would. When I do this, it throws me an error part of the way through about the architecture being incorrect.

                            This is when I open the Auto-generated files and make all necessary changes, save and open in IDE. Xcode then finishes the job with no issues.

                            Do you get any errors when exporting directly from HISE?

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @trillbilly
                              last edited by

                              @trillbilly No I don't get an error. I export the plugins successfully with Hise on M1 Mac / Monterey / Xcode 13.1.

                              But when I check the auto generated Projucer file, I see that the selected architecture is only x86_64. This makes me doubt if the binary is not natively M1...

                              orangeO 1 Reply Last reply Reply Quote 0
                              • orangeO
                                orange @A Former User
                                last edited by orange

                                @harris-rosendahl said in Universal Binary on M1 Mac:

                                This makes me doubt if the binary is not natively M1...

                                Here is the Plugin Scanner tool that allows you to identify if your plugin is running natively on Apple Silicon Mac or not.

                                Link Preview Image
                                Plug Scanner for Mac - Identify Plug-ins running natively on Apple Silicon Macs

                                PlugIn Scanner for Mac - Identify Plug-ins running natively on Apple Silicon Macs Hi everybody - I have put together a macOS helper app that helps...

                                favicon

                                UAD, Apollo, and LUNA Forums (uadforum.com)

                                alt text

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

                                ? 1 Reply Last reply Reply Quote 1
                                • ?
                                  A Former User @orange
                                  last edited by A Former User

                                  @orange Oh that's great thank you! This app shows a list of only non-M1 compatible plugins, and my plugin is not listed here.

                                  So, if I understand correctly, on a M1 computer, directly Hise exported plugins are universal binaries for both Intel and M1.

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

                                  19

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  102.6k

                                  Posts