Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied #1

Closed
sumardi opened this issue Sep 8, 2012 · 5 comments
Closed

Permission denied #1

sumardi opened this issue Sep 8, 2012 · 5 comments

Comments

@sumardi
Copy link

sumardi commented Sep 8, 2012

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 Plug-ins directory and chmod 777.

$ sudo mkdir /Users/smd/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
$ sudo chmod -R 777 /Users/smd/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/
@omz
Copy link
Owner

omz commented Sep 8, 2012

Thanks, I've added a link to this issue in the readme file.

@toygar-zzz
Copy link

Thanks ;)

@Ch00rD
Copy link

Ch00rD commented Sep 11, 2012

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

$(HOME)/Library/Application Support/Developer/Shared/Xcode/Plug-ins

to

$(HOME)/Library/Developer/Shared/Xcode/Plug-ins

and similarly, for Target, to

/Library/Developer/Shared/Xcode/Plug-ins

to get it to work, and if necessary use the above commands with the path

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

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?

@omz
Copy link
Owner

omz commented Sep 11, 2012

As far as I can tell, both locations (~/Library/Developer/... and ~/Library/Application Support/Developer/...) exist for Xcode 4.4.1 (which I also use). But it seems that Xcode only loads plugins from ~/Library/Application Support.... This isn't documented anywhere, of course, so there could be another location that I'm not aware of.

@Ch00rD
Copy link

Ch00rD commented Oct 9, 2012

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.

@sumardi sumardi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants