解决xcode15无法运行项目的问题: Sandbox: bas

2024-04-11  本文已影响0人  高浩浩浩浩浩浩

在 MacOS 14,Xcode15 以上的版本创建项目以后,如果通过系统自动生成了文件(比如Swift的桥接文件), 在pod install 以后会出现以下错误:


image.png

解决办法:

image.png

这里改为NO

User Script Sandboxing

In Xcode, the "User Script Sandboxing" setting is designed to control the level of access that user scripts have to system resources and user data. This setting is part of Xcode's security features to ensure that scripts run within a controlled environment, which helps prevent unintended or malicious modifications to system files or sensitive data. By enabling sandboxing, you can restrict a script’s ability to access the filesystem, network, and other system resources, thereby reducing the risk associated with running custom scripts during the development process.

用户脚本沙盒设置:用途是控制用户脚本对系统资源和用户数据的访问级别, 设置为NO就不会去校验权限问题了

上一篇 下一篇

猜你喜欢

热点阅读