iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code

这篇具有很好参考价值的文章主要介绍了iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code
上面是我打包报错的详细信息,我发现报错的主要是高德地图的三方库,我就删除了报错的三方库,同时删除 pods文件夹 和 .lock文件 重新pod install
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code

之后三方库不再报错,只报错error build: Command PhaseScriptExecution failed with a nonzero exit code
本来以为离成功更近一步,没想到解决这个错误折腾了好久
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code

解决方法:
试过了网上的相关解决方法:
1.Build settings -> Excluded Architectures
Delete "arm64“
2.清内存并且clear
3.删除User Header search Pacths里的所有内容
4.重启电脑
都没有成功
iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code

最终的解决方法是我删掉了脚本shell配置,成功打包

iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code

希望能帮助到遇到相同问题的童鞋,加油,祝好运🍀

解决问题的参考文档地址:
https://www.jianshu.com/p/3cae17a41734
https://www.it1352.com/923036.html文章来源地址https://www.toymoban.com/news/detail-441947.html

到了这里,关于iOS Xcode版本14.2 编译成功 打包报error build: Command PhaseScriptExecution failed with a nonzero exit code的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 使用Xcode 14.3 打包,在iOS13 系统上闪退问题

    Date/Time:           2023-04-21 16:49:28.3937 +0800 Launch Time:         2023-04-21 16:49:27.7110 +0800 OS Version:          iPhone OS 13.4.1 (17E262) Release Type:        User Baseband Version:    1.05.28 Report Version:      104 Exception Type:  EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception No

    2024年02月06日
    浏览(60)
  • iOS问题记录 - Xcode 14.3版本运行项目报错

    看到Xcode有新版本,没忍住点了升级,然后问题来了。 2023/06/24更新:关于Xcode 14.3版本打出来的包在iOS 13版本报错的问题,经过iOS 13.7版本真机实测,这个问题在Xcode 14.3.1版本已经修复,建议升级。Xcode 14.3.1的发布说明也提及了这个问题的修复。 2023/04/23更新:关于Xcode 14.3版本

    2023年04月09日
    浏览(35)
  • iOS问题记录 - Xcode 14安装低版本iOS模拟器(持续更新)

    最近客服跟我反馈说,有一个用户打开老项目的iOS App闪退,我回顾了下这项目上次发布改了啥,发现就改了一些文本和链接,这就很奇怪。到后台查了下这个用户的设备信息和应用版本,用的是手机型号是iPhone X,系统版本是iOS 11.2,以及最新版的应用。 很长时间都忙着Flu

    2024年02月15日
    浏览(47)
  • XCode 14.2 运行MonkeyDev项目出现Executable Path is a Directory

    解决办法: 更改Generate info.plist file 的值为NO, 将info.plist File 的值改为xxx/info.plist  问题: The WatchKit app\\\'s Info.plist must have a XXX  解决办法:1. 删除weChat.app/com.apple.WatchPlaceholder 文件夹                    2. 删除DerivedData缓存                     3. 工程clean一下

    2024年02月13日
    浏览(30)
  • iOS-bug Xcode 14.3 archive打包失败,command PhasescriptExecution failed with a nonzero exit code

    升级到Xcode14.3后,打包出现如下问题 command PhasescriptExecution failed with a nonzero exit code 1、在Xcode中找到该路径文件,Pods/Targets Support Files/Pods-xxxxx/Pods-xxxx-frameworks.sh 2、找到 source =\\\"$(readlink \\\"${source}\\\")\\\"  更改为 source =\\\"$(readlink -f \\\"${source}\\\")\\\" 3、修改完成后,重新archive即可成功,亲测

    2024年02月14日
    浏览(31)
  • iOS-bug Xcode 14.3版本运行项目报错File not found: /Applications/Xcode.app/Contents/Developer/...

    Xcode14.3 File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeD..... Xcode15: SDK does not contain \\\'libarclite\\\' at the path \\\'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/liba.... 1、下载arc目录解压后复制到指定目录路径: /Applications/Xcode.app/Contents/Developer/Toolchains

    2024年02月12日
    浏览(36)
  • ios xcode 14.3: rsync error: some files could not be transferred (code 23) at

    rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code 将Pods-项目名-frameworks.sh中的source=“ ( r e a d l i n k \\\" (readlink \\\" ( re a d l

    2024年02月10日
    浏览(47)
  • flutter build hap打包编译时报错:hvigor ERROR: Failed :entry:default@CompileArkTS...

    有人遇到类似问题吗?不知道怎么解决了

    2024年04月09日
    浏览(33)
  • 成功解决error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“

    最近在做深度学习的yolo5目标追踪的学习,在下载依赖包时,报了如下错误: 原因是没有C++的编译环境,为此我们要去官网下载好Visual Stuido Code。 附下载链接:Visual Stuido Code 记住!一定要下载System Installer版本的! 下载好后根据安装提示下载就好了。网上有很多教程,这里不

    2024年02月12日
    浏览(32)
  • Xcode 14.3.1build 报错整理

    1、Command PhaseScriptExecution failed with a nonzero exit code 2、In /Users/XX/XX/XX/fayuan-mediator-app-rn/ios/Pods/CocoaLibEvent/lib/libevent.a(buffer.o), building for iOS Simulator, but linking in object file built for iOS, file \\\'/Users/XX/XX/XX/fayuan-mediator-app-rn/ios/Pods/CocoaLibEvent/lib/libevent.a\\\' for architecture arm64 step1: step2: step3:完全

    2024年02月07日
    浏览(27)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包