我已按照适当的步骤进行firebase崩溃报告集成,但我仍然有这样的错误,
/ Users / satish / Desktop / firebase_crash / Pods / FirebaseCrash / upload-sym:174:错误:请确保您已按照::命令未找到的步骤操作
/ Users / satish / Desktop / firebase_crash / Pods / FirebaseCrash / upload-sym:175:错误:https://firebase.google.com/docs/crash/ios#upload_symbol_files:没有这样的文件或目录
/ Users / satish / Desktop / firebase_crash / Pods / FirebaseCrash / upload-sym:197:错误:所有查找服务帐户JSON文件的尝试都失败了。
在Xcode 8.3.1中解决,在脚本中用upload-sym-util.bash替换upload-sym
新脚本
# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist file
GOOGLE_APP_ID=xxxxxxxxxx
"${PODS_ROOT}"/FirebaseCrash/upload-sym-util.bash "${PROJECT_DIR}/medinfo-a7f29-firebase-crashreporting-jv418-3f88c3fc5a.json"
这是解决此问题的另一种方法。
在终端中运行命令
rm $HOME/Library/Preferences/com.google.SymbolUpload*
https://firebase.google.com/docs/crash/ios#set_up_crash_reporting
乐于帮助 :)