Forum

    • Register
    • Login
    • Search
    • Categories

    Bundle Identifier wont set on MacOS

    Bug Reports
    4
    12
    220
    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.
    • Lindon
      Lindon last edited by

      The problems with develop go on....

      Now the Preferences panel refuses to accept a new bundle identifier

      HISE Development for hire.
      www.channelrobot.com

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

        @lindon Another one that's never been fixed... You have to edit the XML directly

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

          @ustk which XML?

          HISE Development for hire.
          www.channelrobot.com

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

            @lindon project_info.xml

            Tired to press F5 in the forum...
            Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

              @ustk yeah thanks found it already..

              HISE Development for hire.
              www.channelrobot.com

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

                @lindon just enter your bundle identifier and press 'cancel' when HISE tells you it's wrong. It will keep your ID in the preferences.
                Never had any problem doing so...

                Develop branch - Build : may 14
                Win10 / Monterrey & Xcode 13

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

                  @matt_sf thanks, but this is now the least of my problems.....

                  https://forum.hise.audio/topic/5390/plugin-wont-set-up-samples-in-macos/7

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @lindon Is this issue only on Windows or is it on Mac?

                    The cause is almost certainly down to a regex difference between different OSs.

                    This is the check in the source code. I'm rubbish at regex but I don't think it would be difficult to figure out a fix to this.

                    	if (id == Project::AppGroupID || id == Project::BundleIdentifier)
                    	{
                    		const String wildcard = (id == HiseSettings::Project::BundleIdentifier) ?
                    			R"(com\.[\w\d-_]+\.[\w\d-_]+$)" :
                    			R"(group\.[\w\d-_]+\.[\w\d-_]+$)";
                    
                    		if (!RegexFunctions::matchesWildcard(wildcard, newValue.toString()))
                    		{
                    			return Result::fail(id.toString() + " doesn't match the required format.");
                    		}
                    

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

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

                      I wonder if this com\.[\w\d_]+\.[\w\d_]+$ or com\.[\w\d-\w\d]+\.[\w\d-\w\d]+$ would work... I'm not even sure the \d is needed because I think \w covers all alphanumeric characters.

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

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

                        @d-healey - oh its so tempting to say;
                        "oh yeah that might work.."

                        and sound like I know anything useful about regex...but I'll stick to the more honest..

                        "I have absolutely no idea......"

                        🙂

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @lindon I'll test it later and if it works I'll make a pull request.

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

                          1 Reply Last reply Reply Quote 1
                          • d.healey
                            d.healey last edited by d.healey

                            Problem only appears on MacOS. I changed the regex and the problem goes away. https://github.com/christophhart/HISE/pull/247

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

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

                            19
                            Online

                            741
                            Users

                            5.4k
                            Topics

                            50.3k
                            Posts