Firebase Crashlytics dsym uploading

How to upload dsym artifacts to Firebase Crashlytics

Here is how you can upload Xcode debugging symbols file to Firebase Crashlytics

echo "Find build artifacts"
dsymPath=$(find ~/build.xcarchive -name "*" | head -1)
if [[ -z ${dsymPath} ]]
  echo "No debug symbols were found, skip publishing to Firebase Crashlytics"
  echo "Publishing debug symbols from $dsymPath to Firebase Crashlytics"
  ls -d -- ios/Pods/*
  $FCI_BUILD_DIR/ios/Pods/FirebaseCrashlytics/iOS/Crashlytics.framework/upload-symbols -gsp ios/Runner/GoogleService-Info.plist -p ios $dsymPath

Add this script either to your configuration file or in your post-publish script in the Flutter workflow editor to locate and upload dSYM files to Firebase Crashlytics.