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

UnauthorizedAccessException: Access to the path

Discussion in 'iOS and tvOS' started by Huatimes, May 21, 2020.

  1. Huatimes

    Huatimes

    Joined:
    Mar 8, 2018
    Posts:
    3
    When i build xcode project using Unity2018.4.23f1, it has the error:
    UnauthorizedAccessException: Access to the path '/Applications/Unity2018.4.23f1/PlaybackEngines/iOSSupport/Trampoline/build/SharedPrecompiledHeaders' is denied.
    What does this mean.
    The mac system is 10.15.4
     
    vivekhash likes this.
  2. BuzzJive

    BuzzJive

    Joined:
    Mar 6, 2014
    Posts:
    72
    vivekhash likes this.
  3. Huatimes

    Huatimes

    Joined:
    Mar 8, 2018
    Posts:
    3
  4. zhb444316

    zhb444316

    Joined:
    Aug 18, 2015
    Posts:
    1
    Thank you, it works
     
  5. vasilii001

    vasilii001

    Joined:
    Mar 14, 2013
    Posts:
    6
  6. sssetz

    sssetz

    Joined:
    Apr 22, 2014
    Posts:
    10
    This is only for 2019, but I am having this issue in 2018.4.23, what then?
     
  7. sssetz

    sssetz

    Joined:
    Apr 22, 2014
    Posts:
    10
    @Huatimes can you confirm if you had to change your project to 2019? I dont see the SPH folder in 2018, as it says on that issuetracker site
     
  8. coshea

    coshea

    Joined:
    Dec 20, 2012
    Posts:
    317
    I am here as I'm having this issue all of a sudden on MacOS 10.15.6 using Unity 2018.4.23

    "UnauthorizedAccessException: Access to the path '/Applications/Unity/Hub/Editor/2018.4.23f1/PlaybackEngines/iOSSupport/Trampoline/build/SharedPrecompiledHeaders' is denied."

    I have 2019 installed, but I have never opened this project in 2019. That guide says:
    /Unity /Applications/Unity/PlaybackEngines/iOSSupport/Trampoline/SharedPrecompiledHeaders

    I go to :
    Applications/Unity/Hub/2018.4.23f1/PlaybackEngines/iOSSupport/Trampoline/ there is no SharedPrecompiledHeaders, but there is inside the Build folder

    Applications/Unity/Hub/2018.4.23f1/PlaybackEngines/iOSSupport/Trampoline/Build/SharedPrecompiledHeaders/

    that folder has a little blue arrow on the icon and is zero bytes in size. I can't change the sharing permissions for everyone, even though I am logged in as the admin. Blue down arrow in bottom right suggests its an alias in MacOS, but thats not the case when you look in getinfo, it says its a folder.