Remove component linked Instabug framework to app linked
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 757 B |
Before Width: | Height: | Size: 1015 B |
Before Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 5.0 KiB |
BIN
ios/Instabug.bundle/IBGActionSheetCell.nib
generated
BIN
ios/Instabug.bundle/IBGActionSheetView-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGAttachmentButton.nib
generated
BIN
ios/Instabug.bundle/IBGBugVC-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGChatCell.nib
generated
BIN
ios/Instabug.bundle/IBGChatVC-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGChatsVC-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGErrorOverlayView.nib
generated
BIN
ios/Instabug.bundle/IBGFullScreenImageView.nib
generated
BIN
ios/Instabug.bundle/IBGInboundCell.nib
generated
BIN
ios/Instabug.bundle/IBGMessageTableViewCell.nib
generated
BIN
ios/Instabug.bundle/IBGMessagesView.nib
generated
BIN
ios/Instabug.bundle/IBGOutboundCell.nib
generated
BIN
ios/Instabug.bundle/IBGPoweredByView.nib
generated
BIN
ios/Instabug.bundle/IBGPromptCell.nib
generated
BIN
ios/Instabug.bundle/IBGPromptVC-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGReplyView-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGScreenshotVC-iPhone.nib
generated
BIN
ios/Instabug.bundle/IBGUnnotifiedMessagesAlertView.nib
generated
BIN
ios/Instabug.bundle/IBGVideoPlaybackView.nib
generated
BIN
ios/Instabug.bundle/IBGVoiceNoteRecordingView-iPhone.nib
generated
Before Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 686 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 663 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.2 KiB |
@ -1,115 +0,0 @@
|
|||||||
# Copyright 2014 Instabug, Inc. All rights reserved.
|
|
||||||
#
|
|
||||||
# Usage:
|
|
||||||
# * In the project editor, select your target.
|
|
||||||
# * Click "Build Phases" at the top of the project editor.
|
|
||||||
# * Click "+" button in the top left corner.
|
|
||||||
# * Choose "New Run Script Build Phase."
|
|
||||||
# * Uncomment and paste the following script.
|
|
||||||
#
|
|
||||||
# --- INVOCATION SCRIPT BEGIN ---
|
|
||||||
# # SKIP_SIMULATOR_BUILDS=1
|
|
||||||
# SCRIPT_SRC=$(find "$PROJECT_DIR" -name 'Instabug_dsym_upload.sh' | head -1)
|
|
||||||
# if [ ! "${SCRIPT_SRC}" ]; then
|
|
||||||
# echo "Instabug: err: script not found. Make sure that you're including Instabug.bundle in your project directory"
|
|
||||||
# exit 1
|
|
||||||
# fi
|
|
||||||
# source "${SCRIPT_SRC}"
|
|
||||||
# --- INVOCATION SCRIPT END ---
|
|
||||||
|
|
||||||
echo "Instabug: Started uploading dSYM"
|
|
||||||
|
|
||||||
# Check for simulator builds
|
|
||||||
if [ "$EFFECTIVE_PLATFORM_NAME" == "-iphonesimulator" ]; then
|
|
||||||
if [ "${SKIP_SIMULATOR_BUILDS}" ] && [ "${SKIP_SIMULATOR_BUILDS}" -eq 1 ]; then
|
|
||||||
echo "Instabug: Skipping simulator build"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check to make sure the app token exists
|
|
||||||
if [ ! "${APP_TOKEN}" ]; then
|
|
||||||
APP_TOKEN=$(grep -r 'Instabug startWithToken:@\"[0-9a-zA-Z]*\"' ./ -m 1 | grep -o '\"[0-9a-zA-Z]*\"' | cut -d "\"" -f 2)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! "${APP_TOKEN}" ]; then
|
|
||||||
APP_TOKEN=$(grep -r 'Instabug.startWithToken(\"[0-9a-zA-Z]*\"' ./ -m 1 | grep -o '\"[0-9a-zA-Z]*\"' | cut -d "\"" -f 2)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! "${APP_TOKEN}" ] || [ -z "${APP_TOKEN}" ];then
|
|
||||||
echo "Instabug: err: APP_TOKEN not found. Make sure you've added the SDK initialization line [Instabug startWithToken: invocationEvent:]"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "Instabug: found APP_TOKEN=${APP_TOKEN}"
|
|
||||||
|
|
||||||
# Check internet connection
|
|
||||||
if [ "`curl -s https://api.instabug.com | grep status | grep -c OK`" != "1" ]; then
|
|
||||||
echo "ERROR connecting to api.instabug.com."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create temp directory if not exists
|
|
||||||
CURRENT_USER=$(whoami| tr -dc '[:alnum:]\n\r' | tr '[:upper:]' '[:lower:]')
|
|
||||||
TEMP_ROOT="/tmp/Instabug-${CURRENT_USER}"
|
|
||||||
if [ ! -d "${TEMP_ROOT}" ]; then
|
|
||||||
mkdir "${TEMP_ROOT}"
|
|
||||||
fi
|
|
||||||
TEMP_DIRECTORY="${TEMP_ROOT}/$EXECUTABLE_NAME"
|
|
||||||
if [ ! -d "${TEMP_DIRECTORY}" ]; then
|
|
||||||
mkdir "${TEMP_DIRECTORY}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check dSYM file
|
|
||||||
if [ ! "${DSYM_PATH}" ]; then
|
|
||||||
if [ ! "${DWARF_DSYM_FOLDER_PATH}" ] || [ ! "${DWARF_DSYM_FILE_NAME}" ]; then
|
|
||||||
echo "Instabug: err: DWARF_DSYM_FOLDER_PATH or DWARF_DSYM_FILE_NAME not defined"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
DSYM_PATH=${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}
|
|
||||||
fi
|
|
||||||
echo "Instabug: found DSYM_PATH=${DSYM_PATH}"
|
|
||||||
|
|
||||||
# Check if UUIDs exists
|
|
||||||
DSYM_UUIDs=$(dwarfdump --uuid "${DSYM_PATH}" | cut -d' ' -f2)
|
|
||||||
DSYM_UUIDs_PATH="${TEMP_DIRECTORY}/UUIDs.dat"
|
|
||||||
DSYM_UUIDs_TOKEN="${DSYM_UUIDs//$'\n'/-${APP_TOKEN}$'\n'}"-${APP_TOKEN}
|
|
||||||
|
|
||||||
if [ -f "${DSYM_UUIDs_PATH}" ]; then
|
|
||||||
if grep -Fxq "${DSYM_UUIDs_TOKEN}" "${DSYM_UUIDs_PATH}"; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create dSYM .zip file
|
|
||||||
DSYM_PATH_ZIP="${TEMP_DIRECTORY}/$DWARF_DSYM_FILE_NAME.zip"
|
|
||||||
if [ ! -d "$DSYM_PATH" ]; then
|
|
||||||
echo "Instabug: err: dSYM not found: ${DSYM_PATH}"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "Instabug: Compressing dSYM file..."
|
|
||||||
(/usr/bin/zip --recurse-paths --quiet "${DSYM_PATH_ZIP}" "${DSYM_PATH}") || exit 0
|
|
||||||
|
|
||||||
# Upload dSYM
|
|
||||||
echo "Instabug: Uploading dSYM file..."
|
|
||||||
ENDPOINT="https://api.instabug.com/api/sdk/v3/symbols_files"
|
|
||||||
STATUS=$(curl "${ENDPOINT}" --write-out %{http_code} --silent --output /dev/null -F symbols_file=@"${DSYM_PATH_ZIP}" -F application_token="${APP_TOKEN}")
|
|
||||||
if [ $STATUS -ne 200 ]; then
|
|
||||||
echo "Instabug: err: dSYM archive not succesfully uploaded."
|
|
||||||
echo "Instabug: deleting temporary dSYM archive..."
|
|
||||||
/bin/rm -f "${DSYM_PATH_ZIP}"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove temp dSYM archive
|
|
||||||
echo "Instabug: deleting temporary dSYM archive..."
|
|
||||||
/bin/rm -f "${DSYM_PATH_ZIP}"
|
|
||||||
|
|
||||||
# Save UUIDs
|
|
||||||
echo "${DSYM_UUIDs_TOKEN}" >> "${DSYM_UUIDs_PATH}"
|
|
||||||
|
|
||||||
# Finalize
|
|
||||||
echo "Instabug: dSYM upload complete."
|
|
||||||
if [ "$?" -ne 0 ]; then
|
|
||||||
echo "Instabug: err: an error was encountered uploading dSYM"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 681 B |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 511 B |
Before Width: | Height: | Size: 844 B |
Before Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 533 B |
Before Width: | Height: | Size: 734 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 778 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB |