美文网首页
解决xcode15无法运行项目的问题: Sandbox: bas

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

作者: 高浩浩浩浩浩浩 | 来源:发表于2024-04-11 18:13 被阅读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就不会去校验权限问题了

相关文章

网友评论

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

      本文链接:https://www.haomeiwen.com/subject/yvqhxjtx.html