macOS Catalina提供了一种访问/拒绝文件和文件夹的新方法。
突然,我拒绝了SimulatorTrampoline
对我的Documents
文件夹的访问请求,无法将其取回。
此外,Security & Privacy > Privacy Full Disk Access
和Files and Folders
不包含任何有关拒绝请求的信息。
基本上,问题是如何将此权限添加回?也许某种bash脚本能帮上忙吗?
发布于 2019-10-09 12:50:45
终于找到了一些解决办法(我相信,只有full access
):
Finder
Security & Privacy > Privacy > Full Disk Access
SimulatorTrampoline.xpc
进行更改,SimulatorTrampoline.xpc
放到应用程序区域(它将是不可见的),SimulatorTrampoline.xpc
如果needed设置
UPD 13.10.2020
如何找到SimulatorTrampoline.xpc
搜索栏中的Finder
SimulatorTrampoline.xpc
(右上corner)
Search
选项This Mac
)
发布于 2022-07-08 02:58:39
在Finder中找到SimulatorTrampoline.xpc。您必须将“系统文件”包含在您的标准中,以便搜索像用户库这样的位置。
路径: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/SimulatorTrampoline.xpc
发布于 2022-03-28 06:45:26
我认为这是由MacOS对Xcode的权限造成的。
因此,只需将文件移动到Documents
文件夹,然后尝试再次拖动到模拟器中。为我工作过。
https://stackoverflow.com/questions/58303509
复制相似问题