人类可读的 Firebase 崩溃报告问题

Human readable Firebase crash reporting issue

我正在尝试将 Firebase 崩溃报告集成到我的应用程序中。我希望它被报告为人类可读并符合 Firebase tutorial 我在 XCode 项目中添加了一个 运行 脚本。我将数据设置如下。

GOOGLE_APP_ID=1:2x25x16352xx:ios:ee9bx7ae0a1e6xx

"${PODS_ROOT}"/FirebaseCrash/upload-sym "$SRCROOT/xxx-4869xxd0b7xxx.json"

但是当我 运行 应用程序时,我收到一个错误:

{
  "error" : "invalid_grant",
  "error_description" : "Invalid JWT: Token must be a short-lived token and in a reasonable timeframe"
}
Command /bin/sh failed with exit code 1

我想知道是什么原因导致的。

一些提示:当我 select Run script only when installing 时,应用 运行 正确。

经过1周的工作,我找到了问题的答案。这太简单了。我电脑的时钟不正确。我手动修复了它并神奇地纠正了所有问题。