Xcode error in Upload symbol files file

前提是你 提交于 2019-12-03 11:19:36

问题


I have followed proper steps for firebase crash reporting integration but I still have errors like this,

/Users/satish/Desktop/firebase_crash/Pods/FirebaseCrash/upload-sym:174: error: Please ensure you've followed the steps at:: command not found

/Users/satish/Desktop/firebase_crash/Pods/FirebaseCrash/upload-sym:175: error: https://firebase.google.com/docs/crash/ios#upload_symbol_files: No such file or directory

/Users/satish/Desktop/firebase_crash/Pods/FirebaseCrash/upload-sym:197: error: All attempts to find the service account JSON file have failed.

Here is the image of the error that I have faced.


回答1:


Solved in Xcode 8.3.1 with replacing upload-sym with upload-sym-util.bash in script

new script

# 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"



回答2:


Here is the another way to fix this issue.

Run the command in terminal

rm $HOME/Library/Preferences/com.google.SymbolUpload*

https://firebase.google.com/docs/crash/ios#set_up_crash_reporting

Happy to help :)



来源:https://stackoverflow.com/questions/43320736/xcode-error-in-upload-symbol-files-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!