HISE Logo Forum
    • Categories
    • Register
    • Login

    Bundle Identifier wont set on MacOS

    Scheduled Pinned Locked Moved Bug Reports
    12 Posts 4 Posters 540 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

      The problems with develop go on....

      Now the Preferences panel refuses to accept a new bundle identifier

      HISE Development for hire.
      www.channelrobot.com

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

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

        Can't help pressing F5 in the forum...

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

          @ustk which XML?

          HISE Development for hire.
          www.channelrobot.com

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

            @lindon project_info.xml

            Can't help pressing F5 in the forum...

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

              @ustk yeah thanks found it already..

              HISE Development for hire.
              www.channelrobot.com

              Matt_SFM 1 Reply Last reply Reply Quote 0
              • Matt_SFM
                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
                Win10 & VS17 / Ventura & Xcode 14. 3

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

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

                  Link Preview Image
                  Plugin wont set up samples in MacOS

                  @danh OK any one know how to get the default buttons for sample set up using the extra definitions?

                  favicon

                  Forum (forum.hise.audio)

                  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 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.healeyD 1 Reply Last reply Reply Quote 1
                    • d.healeyD
                      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

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        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.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          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.healeyD
                            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

                            30

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.2k

                            Posts