我在构建Xcode项目时出现Jenkins错误。我知道很多人都有这个问题 - 而且我已经阅读并尝试了几个小时的小费无济于事。Jenkins与Xcode 6应用程序问题:'代码签名错误:没有代码签名身份发现'
这是在执行Shell命令我告诉詹金斯运行:
export DEVELOPER_DIR='/Applications/Xcode 6.app/Contents/Developer/'
cd TM
xcrun xcodebuild clean build
这里是我的詹金斯输出的错误消息:
=== CLEAN TARGET TM OF PROJECT TM WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
[BEROR]Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.0'
Create product structure
/bin/mkdir -p /Users/Shared/Jenkins/Home/jobs/TM/workspace/TM/build/Release-iphoneos/TM.app
Clean.Remove clean build/Release-iphoneos/TM.app
builtin-rm -rf /Users/Shared/Jenkins/Home/jobs/TM/workspace/TM/build/Release-iphoneos/TM.app
Clean.Remove clean build/Release-iphoneos/TM.app.dSYM
builtin-rm -rf /Users/Shared/Jenkins/Home/jobs/TM/workspace/TM/build/Release-iphoneos/TM.app.dSYM
Clean.Remove clean build/TM.build/Release-iphoneos/TM.build
builtin-rm -rf /Users/Shared/Jenkins/Home/jobs/TM/workspace/TM/build/TM.build/Release-iphoneos/TM.build
** CLEAN SUCCEEDED **
=== BUILD TARGET TM OF PROJECT TM WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.0'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Build step 'Execute shell' marked build as failure
提示我没有成功尝试:
- 我已经设置我的代码签署我的生成设置(目前,版本=不代码签名;发布>任何iOS SDK = iPhone德veloper)。
- 我已经在Xcode插件中指出了我的login.keychain文件的配置。
- 我已经将我的.developerprofile上传到Jenkins,并指出它应该在每次构建之前导入。
还有更多。
不知道我还能做什么。它似乎很重要,它说team ID “(null)”
- 但我找不到任何答案,为什么这是。
我正在运行iOS 8.0的目标Xcode 6。
我也是经验。但它在xcode 5上工作吗?如果是这样,也许尝试Xcode 5.或者尝试更新jenkins和其他插件,看看它是否有帮助。如果你找到答案请发帖 – DerrickHo328 2014-09-30 01:23:45
这个问题有什么好运? – German 2014-10-22 19:00:57
nope。与特拉维斯一起,直到我再次想要与它对抗 – 2014-10-22 19:21:03