iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了xcode – Travis构建失败,错误65大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我在 GitHub上安装了Travis CI.我用它来检查我对iOS应用程序的提交.问题是,我经常随机得到一个错误65.我还没有找到解决方案. 当我在失败后重新启动工作2-3次时,它会在90%的时间内完成. 我之前也遇到了Travis(> 4MB)日志过于冗长的问题,但我添加了xcpretty来解决这个问题. 我从日志中得到的错误: ... GeneraTing 'XYZ.app.dSym' ❌
我在 GitHub上安装了Travis CI.我用它来检查我对iOS应用程序的提交.问题是,我经常随机得到一个错误65.我还没有找到解决方案.

当我在失败后重新启动工作2-3次时,它会在90%的时间内完成.

我之前也遇到了Travis(> 4MB)日志过于冗长的问题,但我添加了xcpretty来解决这个问题.

我从日志中得到的错误

...
Generating 'XYZ.app.dSym'
❌  error: Couldn't remove '/Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernsPL/Build/Products/Debug-iphonesimulator/XYZ.app/Somename.storyboardc' after command Failed: Directory not empty
...

然后在特拉维斯日志结束时:

TesTing Failed:
    The file “056-Jj-FAu-view-XmS-Ro-0cO.nib” Couldn’t be opened because there is no such file.
    error: Couldn't remove '/Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernsPL/Build/Products/Debug-iphonesimulator/XYZ.app/Somename.storyboardc' after command Failed: Directory not empty
    error: lipo: can't move temporary file: /Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernsPL/Build/Products/Debug-iphonesimulator/XYZ.app.dSym/Contents/resources/DWARF/XYZ to file: /Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernsPL/Build/Products/Debug-iphonesimulator/XYZ.app.dSym/Contents/resources/DWARF/XYZ.lipo (No such file or directory)
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil emitted errors but did not return a nonzero exit code to inDicate failure
** TEST Failed **
The following build commands Failed:
    LinkStoryboards
    LinkStoryboards
(2 @R_61_4895@)
The command "./scripts/build.sh" exited with 65.

我在Xcode和Travis设置中都使用Xcode 8.

解决方法

啊,好问题.有时,在代码签名步骤中失败的xcodebuild步骤可以使用travis_retry进行处理 – Travis将针对任何非零退出状态重试步骤3次,这将减少您手动重新启动它的需要.在 travis-ci/travis-ci GitHub issue中也有一些建议的代码片段.祝好运!

大佬总结

以上是大佬教程为你收集整理的xcode – Travis构建失败,错误65全部内容,希望文章能够帮你解决xcode – Travis构建失败,错误65所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。