美文网首页
Xcode 15 新建项目使用 CocoaPods 编译报错 S

Xcode 15 新建项目使用 CocoaPods 编译报错 S

作者: zackzheng | 来源:发表于2024-05-09 15:09 被阅读0次
error: Sandbox: bash(14972) deny(1) file-write-create /xxx/Pods/resources-to-copy-xxx.txt (in target 'xxx' from project 'xxx')
/xxx/Pods/Target Support Files/Pods-xxx/Pods-xxx-resources.sh: line 20: /xxx/Pods/resources-to-copy-xxx.txt: Operation not permitted
realpath: illegal option -- m
usage: realpath [-q] [path ...]
:20: error: Unexpected failure

在 TARGETS -> Build Settings 中,搜索 Sandboxing,把 Build Options 下的 User Script Sandboxing 改为 NO。

相关文章

网友评论

      本文标题:Xcode 15 新建项目使用 CocoaPods 编译报错 S

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