Search code examples
ios-simulatorxcode11macos-catalina

How to add permission to SimulatorTrampoline to access specific folder


macOS Catalina has presented a new way to access/denied files and folders.
Suddenly, i denied access request by SimulatorTrampoline to my Documents folder and can't get it back.
Also, Security & Privacy > Privacy Full Disk Access and Files and Folders doesn't contain any info about this denied request.
Basically, question is how to add this permission back? Maybe some sort of bash script can helps here or so?


Solution

  • Finally got some workaround (i believe, full access only):

    1. Find SimulatorTrampoline.xpc in Finder
    2. Open Security & Privacy > Privacy > Full Disk Access
    3. Unlock to make changes
    4. Drop the SimulatorTrampoline.xpc to apps area (it will be invisible)
      • Quit SimulatorTrampoline.xpc if needed
    5. All permissions are set. Try to use simulator again

    UPD 13.10.2020

    How to find SimulatorTrampoline.xpc:

    1. Open Finder
    2. Type SimulatorTrampoline.xpc in search bar (right top corner)
    3. Select Search option This Mac

    enter image description here