How to use the new FirebaseCrash/upload-sym?

551 views Asked by At

I have created new iOS project and in the process of integrating it with Firebase Core and Crash. I have the following run script"

GOOGLE_APP_ID=1:my:app:id

"${PODS_ROOT}"/FirebaseCrash/upload-sym "${SRCROOT}/path/to/my-json-file"

This was working fine on my previous projects, I have checked my old projects and they are fine.

However, the new project seems to have a upload-sym from Pod FirebaseCrash which does not expect arguments.

I have also confirmed that the upload-sym file in my older projects is different from the upload-sym file in my freshly created project.

How to use upload-sym without supplying the path to my json file?

1

There are 1 answers

0
Doug Stevenson On BEST ANSWER

The readme for the FirebaseCrash pod that suggests upload-sym does not take an argument is incorrect. It does require your service account file path as shown in the docs on the website. Look at the upload-sym script itself in the FirebaseCrash pod directory to verify for yourself what it does. The latest version of the pod at the time I write this is 1.1.4.