微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决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 举报,一经查实,本站将立刻删除。