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

Open
sumardi opened this Issue Sep 8, 2012 · 5 comments

Comments

Projects
None yet
4 participants
@sumardi

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

This comment has been minimized.

Show comment
Hide comment
@omz

omz Sep 8, 2012

Owner

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

Owner

omz commented Sep 8, 2012

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

@toygar

This comment has been minimized.

Show comment
Hide comment
@toygar

toygar Sep 8, 2012

Thanks ;)

toygar commented Sep 8, 2012

Thanks ;)

@Ch00rD

This comment has been minimized.

Show comment
Hide comment
@Ch00rD

Ch00rD 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?

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

This comment has been minimized.

Show comment
Hide comment
@omz

omz Sep 11, 2012

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@Ch00rD

Ch00rD 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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment