10

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

SymbolixAU
  • 25,502
  • 4
  • 67
  • 139
Max Wang
  • 247
  • 3
  • 16

3 Answers3

21

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 :)

Nazrul Islam
  • 748
  • 8
  • 16
5

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.

Max Wang
  • 247
  • 3
  • 16
0

Use Firebase Crashlytics instead of Firebase Crash Reporting.

Max Wang
  • 247
  • 3
  • 16
  • Just a heads-up: when I migrated from Firebase Crash Reporting to Crashlytics, the script at Build Phases -> Run script was NOT removed and kept causing the error for me. So if someone's migrated, check to see if the FirebaseCrash script is still configured. If it is, just removed the line. – rednuht Apr 18 '18 at 21:16