Fastlane 错误:无法从自定义 Fastfile 更新我的分发证书:匹配

问题描述

我开始遇到 fastlane 的问题。当我运行自定义 Fastfile 来生成我的 beta 应用程序时,应用程序开始编译但最终因错误而终止。在 Fastlane / Jenkins 日志中,我有

[21:38:32]: [31mfastlane finished with errors[0m
[31m
[!] Your certificate '3TR1235JKQ.cer' is not valid,please check end date and renew it if necessary[0m
Build step 'Execute shell' marked build as failure
An attempt to send an e-mail to empty list of recipients,ignored.
Finished: FAILURE. 

我已登录苹果开发者网站。进入配置文件添加我自己。我曾尝试清理项目并在 Xcode 中下载证书,但无济于事。

Fastlane 显示我从 git 获取证书,这超出了我的权限,但文件格式 .p12 和 .cer 的证书保存到目标目录。

请告诉我解决 Fastlane / Jenkins 日志中出现的错误解决方法。提前致谢。

这是我下载证书的快速文件的一部分:

register_devices(devices_file: "./fastlane/devices.txt")
match(git_url: "https://abcc2004@bitbucket.org/demo/fastlane-cert.git",type:$buildType,app_identifier: ENV["APP_IDENTIFIER"],force_for_new_devices: true)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)