简体   繁体   English

iOS档案无法运作

[英]iOS archive not working

I'm requesting your help to solve an archive issue for Apple iOS. 我需要您的帮助来解决Apple iOS的存档问题。

When I'm running the app with a local certificate everything is fine, but when I switch to archive (in order to publish it) I have an error. 当我使用本地证书运行该应用程序时,一切都很好,但是当我切换到存档(以发布它)时,我遇到了一个错误。

Error is related with Alamofire and from what I consider with codesign 错误与Alamofire以及我认为与Codesign有关

> Stripped
> /Users/..myuser../Library/Developer/Xcode/DerivedData/..myappname..-brxmobbquzmuhnbmcgzieifhgvjk/Build/Intermediates.noindex/ArchiveIntermediates/...myprojectname.../InstallationBuildProductsLocation/Applications//....app/Frameworks/Alamofire.framework/Alamofire
> of architectures: armv7 Code Signing
> /Users/...../Library/Developer/Xcode/DerivedData/......-brxmobbquzmuhnbmcgzieifhgvjk/Build/Intermediates.noindex/ArchiveIntermediates/..../InstallationBuildProductsLocation/Applications//.....app/Frameworks/Alamofire.framework
> with Identity iPhone Developer: name (code) /usr/bin/codesign --force
> --sign 7FEA49779804D0F60707E9954A90FE65C  --preserve-metadata=identifier,entitlements '/Users/...../Library/Developer/Xcode/DerivedData/.....-brxmobbquzmuhnbmcgzieifhgvjk/Build/Intermediates.noindex/ArchiveIntermediates/...../InstallationBuildProductsLocation/Applications//.....app/Frameworks/Alamofire.framework'
> /Users/...../Library/Developer/Xcode/DerivedData/....-brxmobbquzmuhnbmcgzieifhgvjk/Build/Intermediates.noindex/ArchiveIntermediates/....../InstallationBuildProductsLocation/Applications//......app/Frameworks/Alamofire.framework:
> unknown error -1=ffffffffffffffff Command /bin/sh failed with exit
> code 1

Many thanks for your help 非常感谢您的帮助

Solved. 解决了。

Somehow the keychain password "login" was my problem. 不知何故,钥匙串密码“登录”是我的问题。 Changing it solved the signed issue. 对其进行更改可以解决已签名的问题。 It was not related with Alamofire package. 它与Alamofire软件包无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM