Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error cleaning build folder - You do not have required file permissions

Tags:

xcode6

I'm using xcode 6. Its fine to clean but it fails when I choose clean build folders.

enter image description here

like image 742
angelokh Avatar asked Sep 28 '14 01:09

angelokh


People also ask

How do I fix file and folder permissions in WordPress?

Fix File and Folder Permissions in WordPress Using FTPOnce connected go to the root folder of your WordPress site. After that select all folders in root directory and then right click to select 'File Permissions'. This will bring up the file permissions dialog box. Now you need to enter 755 in the numeric value field.

What does cleaning build folder do?

2. Clean the Build Folder. This will delete all of the products and intermediate files in the build folder. To clean the build folder you can use the shortcut Command+Option+Shift+K or Menu Bar → Product → Hold Option Key → Clean build Folder .


2 Answers

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.

like image 125
Avinash Babu Avatar answered Nov 25 '22 10:11

Avinash Babu


It could be due to Xcode bug (at least for me in Xcode 6.3.1). Toggling the location for derived data folder will fix it.

Go to Xcode > Preferences > Locations and change Derived Data to Relative, then back to Default.

Clean build folder again.

like image 40
samwize Avatar answered Nov 25 '22 10:11

samwize