# VST/AU builds fail after upgrading to Xcode 15

**URL:** https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936
**Category:** General JUCE discussion
**Created:** [September 19, 2023, 9:22am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936 "2023-09-19T09:22:31Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![crandall1](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/crandall1/32/157_2.png) [@crandall1](https://forum.juce.com/u/crandall1)
#### Post date: [October 1, 2023, 8:22pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/21 "2023-10-01T20:22:28Z")

</div>

I believe we’re in an “Apple broke…” scenario. I went to the store and bought a fresh new MacBook Air, updated it to Sonoma as soon as I got home, then built my entire Git repo in a non ~/Documents folder and it worked fine. (As referenced above.) I had to take the other machine in for repair, so I had to stop my experiments, but when I get it back (Monday, most likely) I will attempt rebuilding my Git repo in the same location as the new machine and hopefully be back in business.

But my general take is still that if your Git repo or workspace is in ~/Documents, pay close attention to the iCloud settings when updating to Sonoma.

---

<div class="post-metadata">

### Author: ![DirektDSP](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/direktdsp/32/15061_2.png) [@DirektDSP](https://forum.juce.com/u/DirektDSP)
#### Post date: [October 1, 2023, 8:35pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/22 "2023-10-01T20:35:09Z")

</div>

> [@crandall1](#):
>
> general take is still that if your Git repo or workspace is in ~/Documents,

See thats the weirdest bit for me, my juce projects are in my user folder (`/Users/myName`) and not the cloud synced folder. I’m not sure if this folder is also synced to icloud and it could be the root of all my issues. I’m gonna end up testing that now actually

EDIT: That did not fix it, i moved my project to an external drive, cleaned the build folder and retried a build with the same cycle error as my other juce projects. Projucer also refused to build

---

<div class="post-metadata">

### Author: ![thecargocult](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thecargocult/32/10988_2.png) [@thecargocult](https://forum.juce.com/u/thecargocult)
#### Post date: [October 2, 2023, 1:39am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/23 "2023-10-02T01:39:52Z")

</div>

that iCloud Documents folder is a certified PITA. We used to do a lot inside the Documents folder at runtime, but since Apple started leading people towards the virtual Documents folder we’ve had to move everything to ~/Library/Application Support. Maybe that’s always been the “correct” approach, but Documents felt like it was there for that reason.

---

<div class="post-metadata">

### Author: ![anon48770766](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon48770766](https://forum.juce.com/u/anon48770766)
#### Post date: [October 5, 2023, 11:51am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/24 "2023-10-05T11:51:02Z")

</div>

This is a terrible state of affairs … but one stupid question: did you check that there aren’t any .DS\_Store files being inadvertently spewed into your .app bundle folder while you Finder around to see whats going on? Because this happens, all the time, and is at the point that I have this command on muscle-memory for just this scenario …  
$ find ~/Documents/JUCE\_Projects/ -name “\*.DS\_Store” -exec rm ;

---

<div class="post-metadata">

### Author: ![tkod132](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tkod132](https://forum.juce.com/u/tkod132)
#### Post date: [October 6, 2023, 9:08am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/25 "2023-10-06T09:08:35Z")

</div>

I also cannot build on Xcode 15 using the CMAKE exporter. The problem persists with the current develop branch of JUCE. MacOS version is Ventura 13.6, will try Sonoma later  
One of the vst3 post build steps fails with:

> The bundle “MyPluginName” couldn’t be loaded.Command PhaseScriptExecution failed with a nonzero exit code

The command that’s failing is:

> juce\_vst3\_helper -create -version… etc

---

<div class="post-metadata">

### Author: ![DEADBEEF](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@DEADBEEF](https://forum.juce.com/u/DEADBEEF)
#### Post date: [October 10, 2023, 6:06pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/26 "2023-10-10T18:06:00Z")

</div>

Same issue here.  
I cannot launch build VST/AU since I get the “cycle inside AU produce unreliable results” issue.  
Any news regarding a new version of JUCE with a fix will be released ?  
Thanks

---

<div class="post-metadata">

### Author: ![adamel99](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@adamel99](https://forum.juce.com/u/adamel99)
#### Post date: [October 12, 2023, 12:53am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/27 "2023-10-12T00:53:02Z")

</div>

![Screenshot 2023-10-11 at 8.45.23 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/a/b/ab99fd20878536054b9eeb4859563ab2ff29a33a.jpeg)

I got this issue too after updating my Mac to Sonoma and updated Xcode. The project worked fine before the update. I tried cloning the latest juce commits on GitHub and that didn’t work either. Anyone know why this might be the case.

---

<div class="post-metadata">

### Author: ![duvrin](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@duvrin](https://forum.juce.com/u/duvrin)
#### Post date: [October 12, 2023, 5:25am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/28 "2023-10-12T05:25:02Z")

</div>

Note that you need to clone Develop branch and not Master. Then, delete your build folders.

---

<div class="post-metadata">

### Author: ![Ayra](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ayra/32/5775_2.png) [@Ayra](https://forum.juce.com/u/Ayra)
#### Post date: [October 13, 2023, 9:20am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/29 "2023-10-13T09:20:56Z")

</div>

There are news? I also get this error:

**Command PhaseScriptExecution failed with a nonzero exit code**

---

<div class="post-metadata">

### Author: ![DirektDSP](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/direktdsp/32/15061_2.png) [@DirektDSP](https://forum.juce.com/u/DirektDSP)
#### Post date: [October 15, 2023, 8:47pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/30 "2023-10-15T20:47:19Z")

</div>

I think i’ve tried this about 4 times now with no success. I’ve build the develop branch, cleared out literally everything other than my assets and the .projucer file, reopened the project, resaved and then opened in xcode all to be greeted with the same error (build failed, cycle etc etc.)

I’m pretty confused now ngl

---

<div class="post-metadata">

### Author: ![duvrin](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@duvrin](https://forum.juce.com/u/duvrin)
#### Post date: [October 16, 2023, 7:41pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/31 "2023-10-16T19:41:16Z")

</div>

You did not mention that you rebuild Projucer from the develop branch, did you do that?

---

<div class="post-metadata">

### Author: ![DirektDSP](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/direktdsp/32/15061_2.png) [@DirektDSP](https://forum.juce.com/u/DirektDSP)
#### Post date: [October 16, 2023, 10:00pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/32 "2023-10-16T22:00:02Z")

</div>

It was the first thing I said I did….

---

<div class="post-metadata">

### Author: ![duvrin](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@duvrin](https://forum.juce.com/u/duvrin)
#### Post date: [October 16, 2023, 10:05pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/33 "2023-10-16T22:05:36Z")

</div>

Sorry, it’s been a long day. I am out of ideas other then try to unplug the power for 5 seconds then restart… 🥴

---

<div class="post-metadata">

### Author: ![marcushobbs](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/marcushobbs/32/4982_2.png) [@marcushobbs](https://forum.juce.com/u/marcushobbs)
#### Post date: [October 17, 2023, 4:07am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/34 "2023-10-17T04:07:39Z")

</div>

Hey folks…Dev here who migrated from Mac OS X 14 to 15, now running into “cycle build” issues on Projucer files that “just worked” before the OS upgrade. Fresh OS install of 15 is not an option for me.

I am able to build by manually removing the “Installation Build Products Location” from the Xcode projects generated by Projucer, but obviously we want Projucer to be the source of truth.

Can I do this with 7.0.7?

---

<div class="post-metadata">

### Author: ![duvrin](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@duvrin](https://forum.juce.com/u/duvrin)
#### Post date: [October 18, 2023, 7:52pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/35 "2023-10-18T19:52:29Z")

</div>

For anyone who is still fighting with this issue, after upgrading to Xcode beta 15.1 I am able to build fine on both master and develop branches.

---

<div class="post-metadata">

### Author: ![adamel99](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@adamel99](https://forum.juce.com/u/adamel99)
#### Post date: [October 19, 2023, 12:33am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/36 "2023-10-19T00:33:28Z")

</div>

I just upgraded to 15.1 beta and I’m still getting the same cycle build error. I even wiped everything out and started fresh from the juce GitHub repo.

---

<div class="post-metadata">

### Author: ![anthony-nicholls](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anthony-nicholls/32/1246_2.png) [@anthony-nicholls](https://forum.juce.com/u/anthony-nicholls)
#### Post date: [October 19, 2023, 8:39am UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/37 "2023-10-19T08:39:46Z")

</div>

For anyone still experiencing issues, are you experiencing these issues with any of the provided projects such as the Projucer and DemoRunner or only your own projects? If you are experiencing the issue with projects such as the Projucer can you try running the following from a terminal and see if you still experience the same issue?

```auto
git clone https://github.com/juce-framework/JUCE --branch develop --depth 1  
xcodebuild -project ./JUCE/extras/Projucer/Builds/MacOSX/Projucer.xcodeproj

```

If that works try running

```auto
open ./JUCE/extras/Projucer/Builds/MacOSX/Projucer.xcodeproj

```

This should open the Projucer project in Xcode, type CMD+B to trigger the build in the UI.

Thanks.

---

<div class="post-metadata">

### Author: ![adamel99](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@adamel99](https://forum.juce.com/u/adamel99)
#### Post date: [October 19, 2023, 8:47pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/38 "2023-10-19T20:47:15Z")

</div>

Projuicer works fine for me and so do as DemoRunner and AudioPluginHost. It only fails to build for my own projects even after creating a new blank basic plugin

---

<div class="post-metadata">

### Author: ![anthony-nicholls](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anthony-nicholls/32/1246_2.png) [@anthony-nicholls](https://forum.juce.com/u/anthony-nicholls)
#### Post date: [October 19, 2023, 9:25pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/39 "2023-10-19T21:25:35Z")

</div>

To be clear now you’ve built the Projucer can you open that new version of the Projucer and create a new project with it? (note please close any versions of the Projucer you may already have open before trying to run the new version)

---

<div class="post-metadata">

### Author: ![anthony-nicholls](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anthony-nicholls/32/1246_2.png) [@anthony-nicholls](https://forum.juce.com/u/anthony-nicholls)
#### Post date: [October 19, 2023, 9:28pm UTC](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936/40 "2023-10-19T21:28:36Z")

</div>

You could double check you have the right versions of the Projucer open by going to the menu and selecting `Projucer >> About Projucer` and confirming the JUCE version and build date.

[Previous page](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936.md?page=1)

[Next page](https://forum.juce.com/t/vst-au-builds-fail-after-upgrading-to-xcode-15/57936.md?page=3)
