ios - 代码签名错误-命令/usr/bin/codesign失败,退出代码为1

标签 ios xcode6 app-store-connect

因此,我花了最后一周的时间尝试解决以下错误,但均无济于事(即使是按照不久前我对自己问题的回答中的步骤进行)

到目前为止,我已经尝试过列出Hereherehereherehere的所有'voodoo'解决方案,但都无济于事。

请,如果有人可以帮助我解决这个问题,我将永远感激不已。

我正在尝试存档我的应​​用程序,以便可以将其提交到应用程序商店,但由于代码签名而失败。

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

任何人都可以帮忙吗?

最佳答案

只是要确定:

  • 您的签名身份是分发ID? (似乎是开发人员证书)
  • 您的省。个人资料有效且未过期?和通配符作为包ID是否正确?
  • 您的xcode-select路径是否正确(xcode-select -p)?
  • 将应用程序移动到某处并尝试在该处签名(也许路径中的某些空格使事情混淆了……)?

  • 也许检查一下:https://developer.apple.com/library/mac/technotes/TN2407/_index.html

    关于ios - 代码签名错误-命令/usr/bin/codesign失败,退出代码为1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26620038/

    相关文章:

    swift - 隐藏键盘加回车键?

    ios - 无法启用 iOS8 自定义键盘

    ios - 当状态为 "waiting for review"时,iTunes 连接替换二进制文件

    iphone - iTunes connect 默认添加光泽效果

    ios - 从当前 View 和推送 View 处理后退按钮

    iphone - 在 iPhone 5 和 iPhone 4 的界面生成器中居中对齐

    ios - Freesound OAuth2 身份验证失败

    ios - 在 iOS 中从 plist 向字符串添加换行符

    objective-c - 如何快速获得 1 位小数 float

    ios - 我如何从 Apple 获得应用程序内购买的付款? (iOS iTunes 连接)