ERROR: Cycle inside a single target
-
@Morphoice It's when you compile from XCode directly.
This issue might be a particularity of Sequoia or latest XCodein 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
-
@Morphoice In case you didn't know - you can have multiple versions of Xcode installed at the same time.
-
@d-healey same error inside xcode... tried build for profiling, build for run, all failed
-
@dannytaurus did not know that indeed. im trying to get an older one installed
-
@Morphoice Is your project called UNSTABLE?
Did you try cleaning the build folder?
-
@d-healey yes sir, both.
-
@dannytaurus so when I try to install xcode 15.4. or any earlier version than 16 (current) this is what I get:
-
@Morphoice Did you try downloading from here? https://xcodereleases.com/
-
-
@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.
-
@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.
(I have no idea why 15.2 is 12GB and 16 is 2GB. Maybe some resources are shared?)
-
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.
-
@dannytaurus that's what I did but it has a crossed out icon and does not run on Sequoia
-
@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
-
@Morphoice To be sure, in HISE, go to Help >> About HISE and let us know which commit it says you're using
-
-
@Morphoice Looks good.
-
@d-healey damn that would have been an easy fix lol
-
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.
-
@Christoph-Hart LOL :) I'll check it out and get back to you in a bit