Hello,
with XCode 14.2 on a MacOs 12.6.3
i downloaded JUCE-master 7.0.5 from github, i ask XCode to build Projucer but it gives the following error that i don’t understand:
Do you have an idea why please?
Thanks,
Frédéric.
Hello,
with XCode 14.2 on a MacOs 12.6.3
i downloaded JUCE-master 7.0.5 from github, i ask XCode to build Projucer but it gives the following error that i don’t understand:
I’ve never seen that before. It looks like there might be a broken symlink or something in the app bundle. Some things to try:
git clone
.Thanks for your answer. I did : git clone , and in Xcode Product → Clean Build Folder and Build, but still get the same error.
Do i need to re-install Xcode or MacOS? or use Cmake?
(my purpose is to develop some plugins for MacOs or windows and initially i am working on linux)
Have you tried building any of the other example projects, e.g. the AudioPluginHost or the DemoRunner? Do those build correctly?
As I’ve never seen anything like this before, it’s difficult to say what the problem could be. Your versions of macOS and Xcode should be supported. Have you tried manually deleting extras/Projucer/Builds/MacOSX/build
and then rebuilding?
Maybe it would be helpful to see the full error message.
Xcode has a view were you can find the output log.
It looks like a loop. It’s the same path concatenated over and over. Maybe some nested include problem?
Looks more like a cyclic link on the filesystem: just guessing, but inside the “Projucer.app” bundle, inside the “Contents/Resources” subdirectory there seems to be a link also named “Projucer.app” that links back to the bundle, with the effect that entering it e.g. for signing, will cause infinite recursion
Thanks for your replies and help. Since i am newbie with Macos (i use to work with linux) i just re-install (with power on, command-R) Macos, xcode, Juce and hope that in few hours, the fresh installation will work.
Hello, thanks.
Yes i have the same problem with AudioPluginHost: If i delete manually extras/Projucer/Builds/MacOSX/build
and then rebuild, then the directory is rebuilded but the same error occurs.
Same problem with building DemoRunner.
From that screenshot, it looks like the app is being copied into its own resources directory. That shouldn’t be happening in the first place (it certainly doesn’t when I build the project locally), so a good next step would be to find out why Xcode has added this copy step.
Have you modified or changed any settings in the Xcode project? Have you moved or copied any files in the JUCE repository?
For us to provide further help, I think it’s probably best if you:
Hopefully, if the instructions are sufficiently detailed, we’ll be able to reproduce the problem and then debug it.
Thank you for your answer. Here is what i did. I have erased everything on the computer (a mac mini) and re-installed MacOs. But at the end i still have the same problem. Here is the details of what i did:
Thank you very much!
PS: the compilation of DemoRunner with cmake in a terminal works fine!
for reference, you can take screenshots on macOS more easily with the following keyboard shortcuts:
CMD+SHIFT+3: capture whole screen
CMD+SHIFT+4: caputre rectangular area / a window of your choice (you toggle between them pressing SPACE)
CMD+SHIFT+5: a little bar appears at the bottom of the screen allowing you to choose the capture mode
I think this is probably where your problem is coming from. Why are you changing the target membership? The “Projucer - App” target is already set to build “Projucer.app”.
Thanks! this is useful.
Thanks Reuk,
It works fine: by directly going to menu/Product/Build this bluids the Projucer and it works!
Thank you very much. (I discover Xcode, and my fault was that i clicked on a wrong button).
But now, i try to compile the example “GainPlugin”, the same way. At the ends i have the message “Build succeeded” from Xcode, but when i clic in Finder on ~/myJUCE/…/build/Debug/GainPlugin
i get the message (in french):
“Impossible d’ouvrir l’application “GainPlugin” car elle est peut être endommagée ou incomplète”.
That means
“Unable to open “GainPlugin” application because it may be damaged or incomplete”.
I am sorry of my ignorance. This may be a simple problem, but i don’t find a simple solution with google search. Do you have an idea please?
(my first objective is to try your examples of midi and audio AU plugins from JUCE and test them with garageband)
Only .app
bundles can be launched directly. For plugins (.vst3
, .component
etc.) you need to load them in a host application.
Also, at the top of the Xcode window, use the target drop-down menu next to “My Mac” to make sure that you’re building the “All” target. This will build all enabled plugin formats, including standalone.
Yes i would like to use first the standalone. Is it an app?
and sorry, i don’t see where to select “All targets” as you say please?
Thanks very much! Now that i understand better, everything seems easier and to work fine.
Thanks a lot for your disponibility and for JUCE. Have a good day!