HISE Logo Forum
    • Categories
    • Register
    • Login

    ERROR: Cycle inside a single target

    Scheduled Pinned Locked Moved General Questions
    57 Posts 6 Posters 2.7k 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.
    • ustkU
      ustk @Morphoice
      last edited by ustk

      @Morphoice It's when you compile from XCode directly.
      This issue might be a particularity of Sequoia or latest XCode

      in your project folder /Binaries/Builds/MacOSX you'll find the .xcodeprof file which you can open.

      Then in XCode check for Product=>Scheme=>Edit Scheme then what I said above.

      Then build with Product=>Build For=>Profiling

      Not sure it can help but it's worth checking

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

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

        @Morphoice In case you didn't know - you can have multiple versions of Xcode installed at the same time.

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        MorphoiceM 2 Replies Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @d.healey
          last edited by

          @d-healey Screenshot 2024-10-19 at 20.00.33.png same error inside xcode... tried build for profiling, build for run, all failed

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

            @dannytaurus did not know that indeed. im trying to get an older one installed

            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

              @Morphoice Is your project called UNSTABLE?

              Did you try cleaning the build folder?

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

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

                @d-healey yes sir, both.

                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                  @dannytaurus so when I try to install xcode 15.4. or any earlier version than 16 (current) this is what I get:

                  Screenshot 2024-10-19 at 20.29.11.png

                  https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                    @Morphoice Did you try downloading from here? https://xcodereleases.com/

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

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

                      @d-healey said in ERROR: Cycle inside a single target:

                      Xcode Releases

                      More than you ever wanted to know™

                      favicon

                      xcodereleases.com (xcodereleases.com)

                      yes that's exactly where I got them from

                      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                        @Morphoice said in ERROR: Cycle inside a single target:

                        yes that's exactly where I got them from

                        I'm back to being out of ideas then.

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

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

                          @Morphoice Not sure why you're seeing that.

                          You don't really 'install' Xcode from the https://xcodereleases.com site.

                          You download a xip file and unpack it, which gives you an Xcode.app application.

                          Drop that in your Applications folder and you should be good to go.

                          I have 15.2 and 16.0 installed. I kept 15.2 named as 'Xcode' so it launches as the default and renamed 16.0 to 'Xcode 16' so I can launch it specifically when I need to.

                          CleanShot 2024-10-19 at 12.17.55@2x.png

                          (I have no idea why 15.2 is 12GB and 16 is 2GB. Maybe some resources are shared?)

                          Meat Beats: https://meatbeats.com
                          Klippr Video: https://klippr.video

                          Christoph HartC MorphoiceM 2 Replies Last reply Reply Quote 0
                          • Christoph HartC
                            Christoph Hart @dannytaurus
                            last edited by

                            Are you REALLY sure you're using the HISE development branch?

                            If you're compiling the project, does HISE give you this warning?

                            macOS Sonoma will cause a compile error if the copy step is enabled, so you have to copy the plugin files into the plugin folders manually after compilation

                            Because if not, then this will cause the error.

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

                              @dannytaurus that's what I did but it has a crossed out icon and does not run on Sequoia

                              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                              1 Reply Last reply Reply Quote 0
                              • MorphoiceM
                                Morphoice @Christoph Hart
                                last edited by

                                @Christoph-Hart I can't see that message anywhere, but I'm on Sequoia. Pretty sure I downloaded the develop branch and compiled HISE from it, it even says develop branch in xcode

                                Screenshot 2024-10-19 at 21.42.39.png

                                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                  @Morphoice To be sure, in HISE, go to Help >> About HISE and let us know which commit it says you're using

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

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

                                    @d-healey Screenshot 2024-10-19 at 21.46.38.png

                                    https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                    d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @Morphoice
                                      last edited by

                                      @Morphoice Looks good.

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

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

                                        @d-healey damn that would have been an easy fix lol

                                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                          Hmm, maybe it fails because of this:

                                          if(macOSVersion == SystemStats::MacOS_14)
                                          {
                                                  PresetHandler::showMessageWindow("Copystep diabled", "macOS Sonoma will cause a compile error if the copy step is enabled, so you have to copy the plugin files into the plugin folders manually after compilation");
                                                  copyPlugin = false;
                                          }
                                          

                                          So Sequoia is macOS 15, and it appears that I've written the most future proof lines of code of the entire HISE codebase here...

                                          I've committed a fix that will hold until macOS 20 (remindme in 10 years...), but I don't have Sequoia on my system so you need to check if that actually helped. It should now print a warning message with this content:

                                          macOS Sonoma (or later) will cause a compile error if the copy step is enabled, so you have to copy the plugin files into the plugin folders manually after compilation

                                          but then the compilation should go through.

                                          MorphoiceM 2 Replies Last reply Reply Quote 0
                                          • MorphoiceM
                                            Morphoice @Christoph Hart
                                            last edited by

                                            @Christoph-Hart LOL :) I'll check it out and get back to you in a bit

                                            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                            18

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts