Armin
Armin

Reputation: 134

Xcode 4 unable to create directory (permission denied)

I am trying to build a plugin using Xcode 4, upon building however I get the following message: /bin/mkdir -p /plugin1.app/Contents error: Unable to create directory: /plugin1.app/Contents (Permission denied)

weirdly enough I haven't set any path as given by the error! Any Ideas?

I have also the following path in my locations (under preferences): /Users/arming/Library/Developer/Xcode/DerivedData

Upvotes: 3

Views: 7314

Answers (1)

Z.L.Chen
Z.L.Chen

Reputation: 106

You may change the file permission setting of the

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

folder.
(right click the plug-in folder and select the "Get Info". At the bottom of the panel, there is a section named "Sharing & Permissions". Set privilege of "staff" to "Read & Write")

Upvotes: 6

Related Questions