ios - 无法为 iOS 应用程序版本构建存档 - 命令/bin/sh 失败,退出代码为 1

标签 ios swift3 xcode9 macos-high-sierra

Showing Recent Errors Only
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/IntermediateBuildFilesPath/ALL-IPO-News.build/Release-iphoneos/ALL-IPO-News.build/Script-FD79489F910F5BA178CFE59D.sh
    cd /Volumes/Consultancy/clients/appbootup/ipo-news/all-ipo-news-ios
    /bin/sh -c /Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/IntermediateBuildFilesPath/ALL-IPO-News.build/Release-iphoneos/ALL-IPO-News.build/Script-FD79489F910F5BA178CFE59D.sh

mkdir -p /Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/BuildProductsPath/Release-iphoneos/ALL-IPO-News.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" "/Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/InstallationBuildProductsLocation/Applications//ALL-IPO-News.app/Frameworks"
building file list ... done
Alamofire.framework/
Alamofire.framework/Alamofire
Alamofire.framework/Info.plist

sent 7408237 bytes  received 70 bytes  14816614.00 bytes/sec
total size is 7407092  speedup is 1.00
Code Signing /Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/InstallationBuildProductsLocation/Applications//ALL-IPO-News.app/Frameworks/Alamofire.framework with Identity iPhone Developer: Sachin Rajshekarappa (S3E92LENG7)
/usr/bin/codesign --force --sign 66ACA138820D18826F0121F38CBD6C264E49B332  --preserve-metadata=identifier,entitlements '/Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/InstallationBuildProductsLocation/Applications//ALL-IPO-News.app/Frameworks/Alamofire.framework'
/Users/sachinsr/Library/Developer/Xcode/DerivedData/ALL-IPO-News-ckurymjqzzhvlyaqgwdggoahngej/Build/Intermediates.noindex/ArchiveIntermediates/ALL-IPO-News/InstallationBuildProductsLocation/Applications//ALL-IPO-News.app/Frameworks/Alamofire.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1

最佳答案

您是否尝试从 Xcode 中删除应用程序的派生数据?然后清理、重新构建并再次尝试归档。

或者

使用 Alamofire 的另一种可能情况是您将打开“.xcodeproj”条目而不是“.xcworkspace”条目。请检查一次是否适用。

关于ios - 无法为 iOS 应用程序版本构建存档 - 命令/bin/sh 失败,退出代码为 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49001309/

相关文章:

objective-c - 捕获组在 NSRegularExpression 中不起作用

ios - 如何在使用 deleteRowsAtIndexPaths 删除行时删除节标题

ios - Xcode 5.1 : Where have the delta iOS 6/7 settings gone?

c# - 如何将 UlImage 作为 Base64 字符串传递到 Asp.Net Web Api

ios - Firebase 和 Swift 3 异步单元测试

ios - 当应用程序不在后台时打开通用链接

iphone - 我需要在我的应用程序仍在运行时终止在 iPad 上运行的用户应用程序

ios - 导航栏的横向 View 问题

Swift 3.1.1编译错误: unknown key 'SwiftImportAsNonGeneric'

ios - 捕获视频中的绿线(AVCaptureSession)