且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2023-01-14 21:48:55

为了确定:


  • 您的签名身份是分发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...)?

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