Xcode 15在pod install之后报错rsync error: some files could not be transferred (code 23) at /AppleInternal

执行pod install 后报错:
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

解决方法
Build Setting -> Build Options -> User Script Sandboxing,默认值为 Yes 改为 No 即可。当然也可以在 Build Options 下搜索 ENABLE_USER_SCRIPT_SANDBOXING 直接定位到具体选项。

posted on 2024-08-13 10:12  平淡如水y  阅读(731)  评论(0)    收藏  举报