PhaseScriptExecution failed in blank project

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 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?

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.