Skip to content

Permission denied #1

Closed as not planned
Closed as not planned

Description

@sumardi

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/

Activity

  1. omz commented on Sep 8, 2012

    @omz
    Owner

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

  2. toygar-zzz commented on Sep 8, 2012

    @toygar-zzz

    Thanks ;)

  3. Ch00rD commented on Sep 11, 2012

    @Ch00rD

    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?

  4. omz commented on Sep 11, 2012

    @omz
    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.

  5. Ch00rD commented on Oct 9, 2012

    @Ch00rD

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions