Skip to content

Instantly share code, notes, and snippets.

@hons82
Created July 17, 2020 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hons82/8f5b4256756fafa3276238bb75e53c51 to your computer and use it in GitHub Desktop.
Save hons82/8f5b4256756fafa3276238bb75e53c51 to your computer and use it in GitHub Desktop.
Firebase Crashlytics build phase script
"${PODS_ROOT}/FirebaseCrashlytics/run"
find "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}" -name "*.dSYM" | xargs -I \{\} "${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" --build-phase \{\}
@hons82
Copy link
Author

hons82 commented Jul 17, 2020

plus the two input files

  • ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
  • $(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)

as defined in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment