# PhaseScriptExecution failed in blank project

**URL:** <https://forum.juce.com/t/phasescriptexecution-failed-in-blank-project/60693>\
**Category:** Getting Started\
**Created:** [March 31, 2024, 11:08am UTC](https://forum.juce.com/t/phasescriptexecution-failed-in-blank-project/60693 "2024-03-31T11:08:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicowen](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nicowen](https://forum.juce.com/u/nicowen)\
**Post date:** [March 31, 2024, 11:08am UTC](https://forum.juce.com/t/phasescriptexecution-failed-in-blank-project/60693/1 "2024-03-31T11:08:02Z")

</div>

Hi, when I setup a new audio plugin in Projucer and build the blank project just as it is in Xcode I get the following error for VST3:

`ditto: /Users/myCompuser/Library/Audio/Plug-Ins/VST3//NewProject.vst3: Permission denied`  
`Command PhaseScriptExecution failed with a nonzero exit code`

I’ve read [this thread](https://forum.juce.com/t/au-builds-fine-vst3-fails-with-command-phasescriptexecution-failed-with-a-nonzero-exit-code/58028/11) but the solution with curly braces in the end didn’t work for me.

I also added a company/manufacturer name in Projucer to prevent the double dashes in …/Plug-Ins/VST3//NewProject.vst3 for the ditto command but this had no effect.

Does someone know how to fix this?

---

<div class="post-metadata">

**Author:** ![nicowen](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nicowen](https://forum.juce.com/u/nicowen)\
**Post date:** [March 31, 2024, 7:55pm UTC](https://forum.juce.com/t/phasescriptexecution-failed-in-blank-project/60693/2 "2024-03-31T19:55:49Z")

</div>

What I’ve done now to get it working is to chmod the directory. Because the PhaseScriptExecution failure seems to be a result of missing write permissions. Changing the permissions of the folder is not a good solution, but it works.

Here’s a quick how to chmod:

1. Open Terminal.app (comes with macOS)
2. Navigate to the parent directory (type: `cd /Users/[your-home-directory]/Library/Audio/Plug-Ins/`)
3. Type: `sudo chmod 777 VST3`

A better solution would be to give only Xcode write permission instead of allowing everyone to write into the folder. Keep that in mind if you do this.
