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。
网友评论