在 Codemagic 中访问日志文件

Accessing log file in Codemagic

我正在填写 Codemagic yaml 文件来为 React Native 执行 iOS 部署。但是,构建器在获取签名文件时发生错误:

Executing AppStoreConnect action fetch-signing-files failed unexpectedly.
Detailed logs are available at
"/var/folders/m7/aegaegawegaw323523t232/T/codemagic-09-01-22.log".
To see more details about the error, add `--verbose` command line option.

错误信息过于模糊。它只是告诉我使用 --verbose,其中 returns

[12:28:30] DEBUG > Load JWT for App Store Connect key 'NAME_OF_KEY' from disk cache
[12:28:30] DEBUG > Failed to load App Store Connect JWT from disk cache:
 Token is not cached
[12:28:30] DEBUG > Generate new App Store Connect JWT for key 'NAME_OF_KEY'
[12:28:30] WARNING > Executing AppStoreConnect action fetch-signing-files failed unexpectedly.
Detailed logs are available at "/var/folders/m7/aegaegawegaw323523t232/T/codemagic-09-01-22.log".
To see more details about the error, add `--verbose` command line option.

这还不足以让我理解发生了什么。我的问题是如何访问上述 codemagic-09-01-22.log 文件中的 Codemagic 日志?

使用 Codemagic,您可以通过 SSH 或 VNC (https://docs.codemagic.io/troubleshooting/accessing-builder-machine-via-ssh/) 访问生成器机器以检查所有日志。

但是根据您提供的日志,您确定配置的密钥名称正确吗?