Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity4XC.xcplugin" is denied

Discussion in 'iOS and tvOS' started by InfinityLegend, Oct 8, 2014.

  1. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Please help me all is in the title

    Error building Player: UnauthorizedAccessException: Access to the path "/Users/***********/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin" is denied.
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Does that file exist on your machine? It should be a symbolic link (deep) into the Unity application folder.
     
  3. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Yes i have this file
     
  4. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    look on my mac
     

    Attached Files:

  5. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    help please
     
  6. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    On my machine that folder contains a symbolic link to the Unity install folders, so the icon has a small arrow bottom left.

    If you cannot get this problem solved, are you able to make a Build using Unity? That should create an Xcode project without needing to talk to Xcode. You can then open the project in Xcode.
     
  7. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    same error message when a Build
     
  8. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    If I delete the symlink from /Library/Application Support/Developer/Shared/Xcode/Plug-ins/, then launch Unity 4.6, I am able to make a build (not build and run). This build just creates a folder with the XCOde project in it. Unity should not need to talk to Xcode when making this build - which is why the plugin isn't needed.

    Can you include some screenshots.
     
  9. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    :(
     

    Attached Files:

  10. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Xcode is normally installed into /Applications on a Mac. What Xcode do you have? Way back in the day Xcode was installed in /Developer.
     
  11. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    xcode 5.1.1
     
  12. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Next, can you share up the Editor.log. I'm still puzzled why Unity writing an Xcode project needs to talk to Xcode.
     
  13. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    where can i find the editor.log?
     
  14. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    i have update to xcode 6.1
     
  15. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
  16. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Excuse me i have this file
     
  17. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    ;)
     

    Attached Files:

  18. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Does that plugin have the correct rights? The third screenshot shows Unity giving an UnauthorisedAccessException which makes me think that file cannot be accessed. I'm still confused why you have that in that folder and not a symlink to the one in the Unity application. The "Plugin points to the wrong location" seems odd, too.
     
  19. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Have you a solution?
     
  20. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    No, I don't fully understand the problem. If you uninstall Unity, does that plugin disappear? If you then re-install, does the plugin get replaced with a symbolic link to the plugin that's inside the Unity application?
     
  21. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Actually, before you uninstall, just delete the plugin. Then try a build.
     
  22. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Hello Mr Dunnett how are you ?:)
    when i install Unity 4.3 no problem all work without problem.
    But when a try with the 4.5 Unity4XC.xcplugin" is denied.
     
  23. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Can you help me please?
     
  24. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    My problem is always the same the unity team can help me?
     
  25. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    if you want you can take the control of my mac to see the problem
     
  26. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Hello, thanks for reporting this. We will make sure that such errors are not fatal.
     
    InfinityLegend likes this.
  27. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    ok but you not have solution for me? what can i do all my work is lock
     
  28. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It's actually quite hard to say what's the workaround because it's hard to diagnose the reason of the problem. You can try to delete the /Users/***********/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin symlink and directory it's in.
     
  29. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    when i search Unity4XC.xcplugin it's not on my mac now
    i have look in the unity packages i just have "android player"
     
  30. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    i have install the Update Unity 5.1.1 and i always have the same problem
    Think you my problem is in my mac or in unity?
    If it's my mac the problem i can try to reset
     
  31. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    I think the problem is in the mac since you are the first person to report it. Have you deleted this directory?

    /Users/***********/Library/Application Support/Developer/Shared/Xcode/Plug-ins

    If yes, it's a bit more complicated issue, but we can try to solve it.
     
  32. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Yes I think i have deleted this directory
     
  33. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Hmm, looks strange. Could you please try to create the directory back using Finder? This will tell us whether there are any filesystem permission issues.

    If the bug still happens, could you please open Terminal.App, paste the following, press enter and then tell me what output comes out?

    stat /Users/***********/Library/Application Support/Developer/Shared/Xcode/Plug-ins
    stat /Users/***********/Library/Application Support/Developer/Shared/Xcode
    stat /Users/***********/Library/Application Support/Developer
    stat /Users/***********/Library/Application Support
    stat /Users/***********/Library

    Please replace ******* with your user name :) This would be best done in some text editor, as terminal executes all lines except the last when they are pasted.
     
  34. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Last login: Sat Jul 4 20:34:15 on ttys000

    SB:~ *********$ stat /Users/***********/Library/Application Support/Developer/Shared/Xcode/Plug-ins

    stat: /Users/***********/Library/Application: stat: No such file or directory

    stat: Support/Developer/Shared/Xcode/Plug-ins: stat: No such file or directory

    SB:~ *********$ stat /Users/***********/Library/Application Support/Developer/Shared/Xcode

    stat: /Users/***********/Library/Application: stat: No such file or directory

    stat: Support/Developer/Shared/Xcode: stat: No such file or directory

    SB:~ *********$ stat /Users/***********/Library/Application Support/Developer

    stat: /Users/***********/Library/Application: stat: No such file or directory

    stat: Support/Developer: stat: No such file or directory

    SB:~ *********$ stat /Users/***********/Library/Application Support

    stat: /Users/***********/Library/Application: stat: No such file or directory

    stat: Support: stat: No such file or directory

    SB:~ *********$ stat /Users/***********/Library

    16777218 612656 drwx------ 68 ********** staff 0 2312 "Jun 24 20:33:52 2014" "Mar 2 14:22:24 2015" "Mar 2 14:22:24 2015" "Jun 18 21:01:21 2009" 4096 0 0x8000 /Users/*********/Library

    16777218 1260920 drwx------ 25 Guest _guest 0 850 "Jan 9 17:34:39 2015" "Jul 29 01:53:26 2012" "Jan 9 17:34:40 2015" "Jun 26 22:40:48 2012" 4096 0 0 /Users/Guest/Library
     
  35. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    The file is not find in the Finder :oops:
     
  36. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Please replace ******* with your user name before executing the commands :)
     
  37. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    i have the same result
     
  38. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It's not possible :) Maybe you did a typo in the user name.

    Please try this:


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

    If you just want a workaround you can simply create a new user.
     
  39. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Last login: Wed Jul 15 14:03:39 on ttys000

    SB:~ BS$ stat ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

    stat: /Users/BS/Library/Application: stat: No such file or directory

    stat: Support/Developer/Shared/Xcode/Plug-ins: stat: No such file or directory

    SB:~ BS$ stat ~/Library/Application Support/Developer/Shared/Xcode

    stat: /Users/BS/Library/Application: stat: No such file or directory

    stat: Support/Developer/Shared/Xcode: stat: No such file or directory

    SB:~ BS$ stat ~/Library/Application Support/Developer

    stat: /Users/BS/Library/Application: stat: No such file or directory

    stat: Support/Developer: stat: No such file or directory

    SB:~ BS$ stat ~/Library/Application Support

    stat: /Users/BS/Library/Application: stat: No such file or directory

    stat: Support: stat: No such file or directory

    SB:~ BS$ stat ~/Library

    16777217 612656 drwx------ 68 BS staff 0 2312 "Jun 24 20:33:52 2014" "Mar 2 14:22:24 2015" "Mar 2 14:22:24 2015" "Jun 18 21:01:21 2009" 4096 0 0x8000 /Users/BS/Library

    SB:~ BS$
     
  40. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Hmm, sorry. I did put a mistake in the commands I asked you to run...

    These should work:

    stat "$HOME/Library/Application Support/Developer/Shared/Xcode/Plug-ins"
    stat "$HOME/Library/Application Support/Developer/Shared/Xcode"
    stat "$HOME/Library/Application Support/Developer"
    stat "$HOME/Library/Application Support"
    stat "$HOME/Library"
     
  41. InfinityLegend

    InfinityLegend

    Joined:
    Oct 21, 2013
    Posts:
    26
    Last login: Thu Jul 16 18:39:20 on console

    SB:~ BS$ stat "$HOME/Library/Application Support/Developer/Shared/Xcode/Plug-ins"

    16777218 712580 drwxr-xr-x 4 BS staff 0 136 "May 5 19:58:00 2015" "Dec 4 16:46:52 2014" "Dec 4 16:46:52 2014" "Feb 14 23:45:31 2013" 4096 0 0 /Users/BS/Library/Application Support/Developer/Shared/Xcode/Plug-ins

    SB:~ BS$ stat "$HOME/Library/Application Support/Developer/Shared/Xcode"

    16777218 712578 drwxr-xr-x 5 BS staff 0 170 "Jan 31 13:46:35 2014" "Oct 7 13:51:30 2013" "Jan 31 13:46:35 2014" "Feb 5 19:42:52 2011" 4096 0 0 /Users/BS/Library/Application Support/Developer/Shared/Xcode

    SB:~ BS$ stat "$HOME/Library/Application Support/Developer"

    16777218 712576 drwxr-xr-x 3 BS staff 0 102 "Jan 31 13:46:35 2014" "Feb 5 19:42:52 2011" "Jan 31 13:46:35 2014" "Feb 5 19:42:52 2011" 4096 0 0 /Users/BS/Library/Application Support/Developer

    SB:~ BS$ stat "$HOME/Library/Application Support"

    16777218 612744 drwx------ 117 BS staff 0 3978 "Jan 31 13:46:24 2014" "Jul 16 18:39:46 2015" "Jul 16 18:39:46 2015" "Jul 21 02:18:23 2009" 4096 0 0 /Users/BS/Library/Application Support

    SB:~ BS$ stat "$HOME/Library"

    16777218 612656 drwx------ 68 BS staff 0 2312 "Jun 24 20:33:52 2014" "Mar 2 14:22:24 2015" "Mar 2 14:22:24 2015" "Jun 18 21:01:21 2009" 4096 0 0x8000 /Users/BS/Library

    SB:~ BS$