Skip to content

Instantly share code, notes, and snippets.

@iharkatkavets
Last active December 4, 2018 17:47
Show Gist options
  • Save iharkatkavets/d2d89dd3cb167d9650889e89a18c1adc to your computer and use it in GitHub Desktop.
Save iharkatkavets/d2d89dd3cb167d9650889e89a18c1adc to your computer and use it in GitHub Desktop.
Xcode. Build-Scripts
#!/bin/bash
echo "API KEY ${FABRIC_API_KEY}"
echo "Look for dSym files at ${BUILT_PRODUCTS_DIR}..."
FILES=($(find "${BUILT_PRODUCTS_DIR}" -iname '*.dSym' 2>/dev/null))
for file in "${FILES[@]}"; do
"${PODS_ROOT}/Fabric/upload-symbols" -d -a "${FABRIC_API_KEY}" -p ios "${file}"
done
#!/bin/bash
echo "API KEY ${FABRIC_API_KEY}"
echo "Look for dSym files at ${BUILT_PRODUCTS_DIR}..."
find "${BUILT_PRODUCTS_DIR}" -iname '*.dsym' -print0 |
while IFS= read -r -d $'\0' line; do
"${PODS_ROOT}/Fabric/upload-symbols" -d -a "${FABRIC_API_KEY}" -p ios "${line}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment