Ok, so I'm trying to automatically upload dSYMs. I'm following instructions from this official documentation: https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports
I'm stuck at "Run the upload symbols script manually" section.
There are 3 ways to upload dSYMs. I'm trying to follow the first one - including the following line in your build process:
find ${DWARF_DSYM_FOLDER_PATH} -name "*.dSYM" | xargs -I \{\} ${PODS_ROOT}/Fabric/upload-symbols -gsp MyProjectFolder/GoogleService-Info.plist -p ios \{\}
For now I've tried the following:
Where to put this script?
How to find if it is being run or not?
Try the following steps:
Step 1: Select your application's Xcode project, then your application target, then select "Build Phases".
Step 2: In Xcode menu, select "Editor", then select "Add Build Phase", and then click on "Add Run Script Build Phase".
Step 3: You should now see a Run Script section in your Build Phase options.
Step 4: Paste in the script inside the body of the Run Script Build Phase.
Keep in mind to set the right file-path(s) in your script(s).