Forum
    • Categories
    • Register
    • Login

    AU component version is always 0 in exported plugins (Xcode exporter misses versionAsHex)

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 6 Posters 146 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.
    • dannytaurusD
      dannytaurus @Lindon
      last edited by

      @Lindon It appears to be specific to @Christoph-Hart's customised JUCE fork.

      Revised (more detailed) cause from Claude:

      Cause

      JUCE/extras/Build/juce_build_tools/utils/juce_PlistOptions.h in JUCE_customized carries the pre-6.1 API, where versionAsHex is a member each exporter has to fill in.

      jucer_ProjectExport_Xcode.h writeInfoPlistFile() sets options.version but never options.versionAsHex, so it keeps its default of 0 and juce_PlistOptions.cpp writes that straight into the AudioComponents dict.

      juceaide and jucer_ProjectExport_MacMake.h both set it, so only the Xcode path - the one HISE uses for macOS export - is affected.

      Upstream JUCE is not affected either way: 6.0.8 has the same member and its Xcode exporter does set it, and 6.1.0 removed the member altogether, computing the value inside the plist writer (getAUVersionAsHexInteger at juce_PlistOptions.cpp:315 in 6.1.3).

      So this looks like an assignment lost while carrying the older plist code onto a 6.1.3 base.

      Fix: one line next to the existing options.version assignment, matching what upstream 6.0.8 had:

      options.versionAsHex = owner.project.getVersionAsHexInteger();
      

      Since HISE 5 ships a prebuilt Projucer in the JUCE submodule, this needs a Projucer rebuild to reach users, not just the source change.

      HISE dev latest / super.engineering + Claude Fable / Figma + Affinity
      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

      dannytaurusD 1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @dannytaurus
        last edited by dannytaurus

        Ha. A fix from @DanH is already sitting in a PR in the custom JUCE repo sine June 16th: https://github.com/christophhart/JUCE_customized/pull/3

        HISE dev latest / super.engineering + Claude Fable / Figma + Affinity
        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        DanHD 1 Reply Last reply Reply Quote 3
        • DanHD
          DanH @dannytaurus
          last edited by

          @dannytaurus nearly all my PRs get ignored 😆

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 2
          • ustkU
            ustk
            last edited by ustk

            I stopped trying to push PRs because a lot of us are cross fixing the same stuff over and over before having a chance to see them reviewed and merged, unfortunately...

            Hise made me an F5 dude, any other app just suffers...

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

              Sorry guys I‘m currently completely submersed in a theatre project, so this month will still be slow but then I‘ll pick up the work and review / merge all the PRs - just keep them coming they are not ignored but sit around waiting to be reviewed.

              1 Reply Last reply Reply Quote 5
              • David HealeyD
                David Healey @dannytaurus
                last edited by

                @dannytaurus I just had a user on Tahoe report this issue

                Logic Pro's plug-in manager says Libre wave > Rhapsody is compatible but the version is invalid.

                Is that related to what you've described here?

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - HISE tutorials
                My Patreon - More HISE tutorials

                dannytaurusD 1 Reply Last reply Reply Quote 0
                • dannytaurusD
                  dannytaurus @David Healey
                  last edited by dannytaurus

                  @David-Healey Yep. Below shows 'invalid' value from current HISE build, a post-export fixed one and a non-HISE version number.

                  HISE-AU-versions-in-Logic.png

                  HISE dev latest / super.engineering + Claude Fable / Figma + Affinity
                  Meat Beats: https://meatbeats.com
                  Klippr Video: https://klippr.video

                  David HealeyD 1 Reply Last reply Reply Quote 1
                  • David HealeyD
                    David Healey @dannytaurus
                    last edited by

                    @dannytaurus wonder why the issue is only showing up for this one use though.

                    At least it's a simple fix

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - HISE tutorials
                    My Patreon - More HISE tutorials

                    dannytaurusD 1 Reply Last reply Reply Quote 0
                    • dannytaurusD
                      dannytaurus @David Healey
                      last edited by

                      @David-Healey

                      issue is only showing up for this one use

                      What do you mean? As far as I know all AU plugins exported from HISE since Dec 2021 have had this 'invalid' version in Logic. VST3 is unaffected.

                      HISE dev latest / super.engineering + Claude Fable / Figma + Affinity
                      Meat Beats: https://meatbeats.com
                      Klippr Video: https://klippr.video

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @dannytaurus
                        last edited by David Healey

                        @dannytaurus It's the first time a user has reported that Rhapsody won't load because of this version issue. Or possibly the user just saw invalid and didn't try and load it on a track - I shall ask.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - HISE tutorials
                        My Patreon - More HISE tutorials

                        dannytaurusD 1 Reply Last reply Reply Quote 0
                        • dannytaurusD
                          dannytaurus @David Healey
                          last edited by

                          @David-Healey The AU with an invalid version works fine. It just shows 'invalid' in the plug-in manager.

                          HISE dev latest / super.engineering + Claude Fable / Figma + Affinity
                          Meat Beats: https://meatbeats.com
                          Klippr Video: https://klippr.video

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

                          24

                          Online

                          2.5k

                          Users

                          13.9k

                          Topics

                          121.4k

                          Posts