Jenkins xcode插件错误地报告没有配置开发者配置文件

问题描述 投票:1回答:1

我想使用Jenkins Xcode Plugin以自动方式构建和签署我的应用程序。

根据aproriate instructions,我上传了一个有效的开发人员资料作为Jenkins凭证。在示例自由式项目中,我添加了构建步骤Import developer profile,其中我选择了上述配置文件。我选择将凭证导入到现有的空钥匙串中,这样我就可以看到该钥匙串的内容会发生什么。

当我构建项目时,构建失败并显示以下消息,并且没有任何内容写入所选的钥匙串。这个问题可以通过Import developer profile构建步骤重现,尽管我已经尝试了更真实的设置。

$ security unlock-keychain -p ******** /path/to.keychain
ERROR: No Apple developer profile is configured
Finished: FAILURE

任何关于如何进一步调试此问题的建议都非常感谢!

jenkins jenkins-plugins xcode9 xcode-plugin
1个回答
0
投票

我最终放弃了Jenkins的Xcode-Plugin,并根据xcodebuildaltool中详细说明直接调用Use xcodebuild (Xcode 8) and automatic signing in CI (Travis/Jenkins) environmentsMedium post by Shashikant Jagtap

我的开发人员配置文件是使用Xcode设置的,相应的证书安装在登录密钥链中(由Xcode管理)。

但请记住,我正在Unity中生成Xcode项目,因此这可能不适用于裸Xcode项目或其他配置。

© www.soinside.com 2019 - 2024. All rights reserved.