Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
I got this error when building:
error: couldn't create directory /Users/smd/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin/Contents: Permission denied
If you have similar error message, just create
For Xcode 4.4.1 / OS X 10.8.1, the Developer folder is located at ~/Library/Developer. So, I assumed (perhaps incorrectly...) that we should change the path in Xcode's Build Settings for Project, from
and similarly, for Target, to
to get it to work, and if necessary use the above commands with the path
This seemed to work on my system - I did not have to create the folder or set permissions manually.
However, I did not see the plugin actually working after restarting Xcode. Am I perhaps missing something silly?
As far as I can tell, both locations (
Indeed, my assumption was wrong, and it does work fine when I moved the file to $(HOME)/Library/Application Support/Developer/Shared/Xcode/Plug-ins (after manually creating the folders to complete the latter part of that path).
It's a neat little tool. Thanks! :) And I apologise for my late reply to your helpful response.