Upload symbol files

Zac picture Zac · May 29, 2016 · Viewed 9.7k times · Source

In my Firebase Crash Reporting page i can't find the full information of crashes (for example the number of row, the file and so on) . I thought it can be because it says

Upload symbol file to symbolicate future stack traces for UUID ----***

telling me to

Using the command line, navigate to your Xcode project folder and run the following: ./Pods/FirebaseCrash/batch-upload ----***

Unfortunately when i try to execute that command in my Xcode project i get the following message:

----***: warning: no executable or bundle Done.

and nothing changes in firebase. Maybe it is because of bitcode enabled? How can i solve it?

P.S. : I have replaced my UUID with ----*** for security reasons.

Answer

Chris Conway picture Chris Conway · May 31, 2016

This answer is if you're not using CocoaPods.

If you are not using CocoaPods you will need some files from the Pods directory that aren't included in the standard set of Firebase libraries they provide.

There are 5 files, pictured below: FirebaseCrash required files

You will need batch-upload, dump_syms, upload-sym, upload-sym-util.bash and upload-sym.sh. You can retrieve these files from the FirebaseCrash Pod files.

If you copy those into your project directory and replace the "${PODS_ROOT}"/FirebaseCrash/ with the directory pointing to those files, it should work.

Note: I still have complications with this solution if I use a build server like Jenkins. Still some work to be done there.


I found that this was required for my apps that don't use CocoaPods. While this might not be directly relevant to your own use, I figure at the very least I should include it for someone else trying to find the answer.