返回顶部
首页 > 资讯 > 移动开发 >升级Xcode 14.3项目报错PhaseScriptExecution failed with a nonzero exit code
  • 116
分享到

升级Xcode 14.3项目报错PhaseScriptExecution failed with a nonzero exit code

xcodemacoside 2023-10-07 14:10:03 116人浏览 独家记忆
摘要

升级Xcode 14.3项目报错PhaseScriptExecution failed with a nonzero exit code 升级到Xcode 14.3之项目打包报错 升级到X

升级Xcode 14.3项目报错PhaseScriptExecution failed with a nonzero exit code

升级到Xcode 14.3之项目打包报错

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworksmkdir -p /Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArcHiveIntermediates/Release_preprod/BuildProductsPath/Release_preprod-iphoneos/MaxApp.app/FrameworksSymlinked...rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" "/Users/max/Library/Developer/Xcode/DerivedData/Max-dmwafkgdrzqavzcmbdjbjgmmuxby/Build/Intermediates.noindex/ArchiveIntermediates/Release_preprod/InstallationBuildProductsLocation/Applications/MaxApp.app/Frameworks"building file list ... rsync: link_stat "/Users/max/Workspace/MaxApp/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ActionSheetPicker_3_0.framework" failed: No such file or directory (2)donesent 29 bytes  received 20 bytes  98.00 bytes/sectotal size is 0  speedup is 0.00rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]Command PhaseScriptExecution failed with a nonzero exit code

在这里插入图片描述
经过各种折腾之后,发现是CocoaPods的问题,解决方案如下:
全局搜索

 source="$(readlink "${source}")"

将其替换为

source="$(readlink -f "${source}")"

来源地址:https://blog.csdn.net/chuzhaohzi/article/details/129986768

--结束END--

本文标题: 升级Xcode 14.3项目报错PhaseScriptExecution failed with a nonzero exit code

本文链接: https://lsjlt.com/news/424534.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作