为通用iOS设备创建产品存档时出现SDWebImage错误

时间:2018-04-12 22:05:07

标签: xcode9 sdwebimage

我已将SDWebImage安装到我的Xcode项目中。 Pod工作得很好,除了现在我已经准备好创建我的项目的构建并开始使用testflight与其他人一起测试。当我选择通用iOS设备和产品时 - >从xcode归档,我收到以下错误:

...Frameworks/SDWebImage.framework: unknown error -1=ffffffffffffffff 

下面的详细输出。任何帮助将不胜感激。

Xcode版本:9.3版(9E145) SDWebImage包版本:4.2.3

  

PhaseScriptExecution [CP] \ Embed \ Pods \ Frameworks   /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/IntermediateBuildFilesPath/folie.build/Release-iphoneos/folie.build/Script-D7995652A1B6FAEC372573DE.sh       cd / Users / tgwagner / Documents / folie / source / App / folie / folie       / bin / sh -c /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/IntermediateBuildFilesPath/folie.build/Release-iphoneos/folie.build/Script-D7995652A1B6FAEC372573DE .SH

     

mkdir -p   /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/BuildProductsPath/Release-iphoneos/folie.app/Frameworks   符号链接... rsync --delete -av --filter P。*。?????? --filter“ - CVS /”   --filter“ - .svn /”--filter“ - .git /”--filter“ - .hg /”--filter“ - Headers”--filter“ - PrivateHeaders”--filter“ - Modules”   “/Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SDWebImage.framework”   “/Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/InstallationBuildProductsLocation/Applications//folie.app/Frameworks”   建立文件列表...完成SDWebImage.framework /   SDWebImage.framework / Info.plist SDWebImage.framework / SDWebImage

     

发送2547349字节,接收70字节5094838.00字节/秒的总大小   是2546802加速是1.00剥离   /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/InstallationBuildProductsLocation/Applications//folie.app/Frameworks/SDWebImage.framework/SDWebImage   架构:armv7代码签名   /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/InstallationBuildProductsLocation/Applications//folie.app/Frameworks/SDWebImage.framework   与身份识别iPhone开发人员:Todd Wagner(64J9F8EP32)   / usr / bin / codesign --force --sign   FA2493469780E25F17F630FF538B8DA75BD6486A   --preserve-metadata = identifier,entitlements'/Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/InstallationBuildProductsLocation/Applications//folie.app/Frameworks/SDWebImage。框架”   /Users/tgwagner/Library/Developer/Xcode/DerivedData/folie-damzcypivcyrbvfnlcuepubrafru/Build/Intermediates.noindex/ArchiveIntermediates/folie/InstallationBuildProductsLocation/Applications//folie.app/Frameworks/SDWebImage.framework:   未知错误-1 = ffffffffffffffff命令/ bin / sh出现失败   代码1

1 个答案:

答案 0 :(得分:0)

如果有其他人遇到此问题。我有一个旧版本的SDWebImage。我更新了pod如下:

pod更新SDWebImage

然后重新启动xcode - 仍然得到相同的错误。最终我不得不重新启动电脑,一切都恢复了。

希望这有助于其他人。