[英]xcodebuild returning code sign error
Check dependencies Code Sign error: The identity 'iPhone Distribution: XXX' doesn't match any valid, non-expired certificate/private key pair in your keychains
检查依赖性代码签名错误:身份“ iPhone发行版:XXX”与钥匙串中的任何有效,未过期的证书/私钥对不匹配
This is the constant message that I'm getting from the xcodebuild command. 这是我从xcodebuild命令获得的恒定消息。 From Xcode, I have no trouble building the application with the same code sign and scheme.
从Xcode,我可以毫无问题地使用相同的代码符号和方案来构建应用程序。
and many many more 还有很多
The weird thing is that on another Mac with the same profile, certificate, key, command line tools, Xcode version, and keychain configuration, the xcodebuild command works as expected. 奇怪的是,在另一台具有相同配置文件,证书,密钥,命令行工具,Xcode版本和钥匙串配置的Mac上,xcodebuild命令可以正常工作。
The jenkins was started before the login of the user so the jenkins didn't have access to the user's keychain. 詹金斯是在用户登录之前启动的,因此詹金斯无法访问用户的钥匙串。 The fix was to start the jenkins with the user login.
解决方法是使用用户登录名启动詹金斯人。
Check out your provisioning profile * bundle id * is match with your app bundle identifier . 检查您的配置文件 * 捆绑包ID *是否与您的应用捆绑包标识符匹配。 two of them is always same .
他们两个总是一样的 。 and then you need to set the code sign identity.
然后您需要设置代码符号身份。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.