0%

xcode archive error: Command PhaseScriptExecution failed with a nonzero exit code

升级 Xcode14.3 后打包报错 Command PhaseScriptExecution failed with a nonzero exit code

  • 报错内容:

    1
    2
    rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/810eba08-405a-11ed-86e9-6af958a02716/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
    Command PhaseScriptExecution failed with a nonzero exit code
  • 解决方法:
    在Xcode项目目录中进入 Pods -> Targets Support Files -> Pods-项目名 -> Pods-项目名-frameworks.sh 中搜索source="$(readlink "${source}")",找到后将其替换为 source="$(readlink -f "${source}")" ,然后重新进行打包操作。

坚持原创技术分享,您的支持将鼓励我继续创作!

欢迎关注我的其它发布渠道