代码签名错误 - 命令/ usr / bin / codesign失败,退出代码为1 [英] Code Sign Error - Command /usr/bin/codesign failed with exit code 1

查看:175
本文介绍了代码签名错误 - 命令/ usr / bin / codesign失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我花了最后一周试图解决以下错误无济于事(甚至按照我自己回答我自己的问题的步骤前一段时间

So I've spent the last week trying to solve the following error to no avail (even following the steps in my own answer to my own question from a little while ago

到目前为止,我已尝试列出各种伏都教解决方案此处此处此处此处并且这里都无济于事。

I've so far tried all manner of 'voodoo' solutions listed Here, here, here, here, and here all to no avail.

如果有人能帮我解决这个问题,我会永远感激。

Please, if anyone can help me solve this issue, i would be eternally grateful.

我是试图存档我的应​​用程序,以便我可以将其提交到应用程序商店,但它在代码签名中落下。

I am trying to archive my app so i can submit it to the app store, but its falling down at the code signing.

CodeSign /Users/informationservices/Library/Developer/Xcode/DerivedData/Safer-Roads-Shellharbour-v2-afdgadppojkknjdzcvdqsvuxsmas/Build/Intermediates/ArchiveIntermediates/Road\ Safety\ App\ V2/InstallationBuildProductsLocation/Applications/Safer-Roads-Shellharbour-v2.app
    cd "/Volumes/App Development/IOS/App Development/Safer Roads Shellharbour 2.0/Safer Roads Shellharbour 2.0"
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: Information Services’s MacBook Pro (CG45JDQ5G7)"
Provisioning Profile: "iOSTeam Provisioning Profile: *"
                      (8bf314ed-8355-468c-82a9-37e2c46119a9)

    /usr/bin/codesign --force --sign 66EB81FC3AA1D26BB39CBBB62AF4839298FCD362 --entitlements /Users/informationservices/Library/Developer/Xcode/DerivedData/Safer-Roads-Shellharbour-v2-afdgadppojkknjdzcvdqsvuxsmas/Build/Intermediates/ArchiveIntermediates/Road\ Safety\ App\ V2/IntermediateBuildFilesPath/Safer-Roads-Shellharbour-v2.build/Release-iphoneos/Safer-Roads-Shellharbour-v2.build/Safer-Roads-Shellharbour-v2.app.xcent /Users/informationservices/Library/Developer/Xcode/DerivedData/Safer-Roads-Shellharbour-v2-afdgadppojkknjdzcvdqsvuxsmas/Build/Intermediates/ArchiveIntermediates/Road\ Safety\ App\ V2/InstallationBuildProductsLocation/Applications/Safer-Roads-Shellharbour-v2.app

/Users/informationservices/Library/Developer/Xcode/DerivedData/Safer-Roads-Shellharbour-v2-afdgadppojkknjdzcvdqsvuxsmas/Build/Intermediates/ArchiveIntermediates/Road Safety App V2/InstallationBuildProductsLocation/Applications/Safer-Roads-Shellharbour-v2.app: User canceled the operation.
Command /usr/bin/codesign failed with exit code 1

请问有人可以帮忙吗?

Please can anyone help?

推荐答案

为了确定:


  • 您的签名身份是分发ID? (它似乎是一个开发人员证书)

  • 你的资格。个人资料是否有效且未过期?和通配符作为包ID是正确的吗?

  • 你的xcode-select路径是否正确(xcode-select -p)?

  • 将应用程序移到了某个地方并尝试在那里签名(可能路径中的某些空格混合起来......)?

  • your signing identity is a distribution ID? (it seems to be an developer cert)
  • your prov. profile is active and not expired? and wildcard as a bundle id ist correct?
  • your xcode-select path is correct (xcode-select -p)?
  • moved the app somewhere and try to sign it there (perhaps some spaces in the path are mixing things up...)?

或许检查一下:< a href =https://developer.apple.com/library/mac/technotes/TN2407/_index.html\"rel =nofollow> https://developer.apple.com/library/mac/technotes/TN2407/ _index.html

这篇关于代码签名错误 - 命令/ usr / bin / codesign失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆