title: Swift : You don’t have permission to save the file in the folder “DerivedData”
body: <p>Recently, when I create a project on Xcode in swift, the build fails and I get this error message:</p>
  <p>Couldn't create workspace arena folder '/.../Xcode/DerivedData/program': You don’t have permission to save the file “program” in the folder “DerivedData”.</p>
  <p>How to solve it ?</p>