Seems like you are restricted to create a build folder in your system root.
In XCode Menu --> Preferences --> Locations Tab --> Locations sub-tab
, Change Derived Data
to Relative
and give any name in text box.
Have a look here which is also a permission problem in Xcode.