Jenkins问题与Xcode 6应用程序:'代码签名错误:没有找到代码签名身份'

 姑娘要上进 发布于 2022-12-19 13:29

在构建Xcode项目时,我收到了Jenkins错误.我知道很多人都有这个问题 - 我读过并尝试过几个小时的提示无济于事.

这是我告诉Jenkins运行的Execute Shell命令:

export DEVELOPER_DIR='/Applications/Xcode 6.app/Contents/Developer/'

cd TM
xcrun xcodebuild clean build

这是我的Jenkins输出中的错误消息:

=== 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开发人员).

我在Xcode插件配置中指出了我的login.keychain文件.

我已将.developerprofile上传到Jenkins,并表示应在每次构建之前导入它.

和更多.

不知道我还能做什么.它说team ID “(null)”- 似乎很重要- 但我找不到任何答案.为什么会这样.

我正在运行Xcode 6,目标是iOS 8.0.

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有