我正在尝试使用 firebase 实现崩溃报告。我按照这里的文档。并将下载的子文件重命名为ServiceAccount.json
. 然后将其复制到项目目录。还改了剧本。现在我的构建阶段运行脚本看起来像
# 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 "ServiceAccount.json"
但是当我尝试构建项目时,它会给出构建错误
Unexpected argument 'ServiceAccount.json'
usage: /Users/<full path>/Pods/FirebaseCrash/upload-sym [-h] [-v] [-w|-e]
Command /bin/sh failed with exit code 2
我的步骤有什么问题?