【发布时间】:2017-05-22 05:29:31
【问题描述】:
我已经逐行浏览了这个文档。 https://firebase.google.com/docs/crash/ios
我成功地报告了崩溃。
但是当我将我的代码上传到 git 时,其他用户会崩溃并抱怨 upload-sym。
因为文档说要添加以下内容来运行脚本:
# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=1:my:app:id
# Replace the /Path/To/ServiceAccount.json with the path to the key you just downloaded
"${PODS_ROOT}"/FirebaseCrash/upload-sym "/Path/To/ServiceAccount.json"
我猜这个错误是由于我的私钥“ServiceAccount.json”的路径
因为我有自己的私钥路径,但另一个人会得到我的私钥路径,这是不可能的。
那么,谁能告诉我应该把那个私钥放在哪里来原谅这个错误。
【问题讨论】:
标签: ios swift firebase firebase-crash-reporting