Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Crash symbol file: Unable to upload symbol file (reason unknown)

I have compile error on Xcode 9, and error is Upload: Unable to upload symbol file (reason unknown).

Project compiles successfully on some computer, but not on my side and few of my friend side.

I already have tried to clean project and build folder, deleted derived data and restart computer.

All doesn't works for me.

Here is the screenshot of the error

This is screenshot of xcode

Thanks

like image 904
Max Wang Avatar asked Oct 02 '17 03:10

Max Wang


2 Answers

You need to make some changes in TARGETS -> Build Phases -> Run Scipt

replace upload-sym with upload-sym-util.bash in script

enter image description here

Like below

enter image description here

Happy to help :)

like image 166
Nazrul Islam Avatar answered Nov 15 '22 23:11

Nazrul Islam


I have found how to avoid this issue. Clean project, delete all derived data and close Xcode. And then, please run below command on terminal.

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

And open your project on Xcode and build again. Sometimes got same issue, but try above steps one or two times again. This will works for you most of time.

like image 33
Max Wang Avatar answered Nov 15 '22 22:11

Max Wang