gpt4 book ai didi

iOS 存档失败 : Command/usr/bin/ditto failed with exit code 1

转载 作者:搜寻专家 更新时间:2023-11-01 06:06:32 26 4
gpt4 key购买 nike

我正在尝试归档我的 iOS 项目,但在 ditto 命令上它失败了,据说是在它编译了每个文件之后。

整个日志文件大约有 200MB,包含敏感信息,所以我不会发布它。这是失败的输出行。

Ditto /Users/iosjenkins/Library/Developer/Xcode/DerivedData/MyApp-dikjbbwmnvizjmdpbkrxixczfmqo/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Development-iphoneos/MyApp.build/DerivedSources/MyApp-Swift.h /Users/iosjenkins/Library/Developer/Xcode/DerivedData/MyApp-dikjbbwmnvizjmdpbkrxixczfmqo/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Development-iphoneos/MyApp.build/Objects-normal/armv7/MyApp-Swift.h
cd /Users/iosjenkins/.jenkins/jobs/MyAppDevelopmentNightly/workspace/MyApp
export PATH="/Applications/Xcode7.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode7.2.1.app/Contents/Developer/usr/bin:/usr/local/bin/:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/ditto -rsrc /Users/iosjenkins/Library/Developer/Xcode/DerivedData/MyApp-dikjbbwmnvizjmdpbkrxixczfmqo/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Development-iphoneos/MyApp.build/Objects-normal/armv7/MyApp-Swift.h /Users/iosjenkins/Library/Developer/Xcode/DerivedData/MyApp-dikjbbwmnvizjmdpbkrxixczfmqo/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Development-iphoneos/MyApp.build/DerivedSources/MyApp-Swift.h
ditto: can't get real path for source '/Users/iosjenkins/Library/Developer/Xcode/DerivedData/MyApp-dikjbbwmnvizjmdpbkrxixczfmqo/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Development-iphoneos/MyApp.build/Objects-normal/armv7/MyApp-Swift.h'
Command /usr/bin/ditto failed with exit code 1

我的项目非常大 ~ 1000 个 swift 文件。 xcodebuild 编译的每行输出都是 110k 字符的文本。

最佳答案

为了防止其他人仍然遇到这个问题,我在一段时间没有重新访问项目后出现了这个错误。它在清洁后消失了:

Command-Shift K

产品>清洁

关于iOS 存档失败 : Command/usr/bin/ditto failed with exit code 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35787532/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com