Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Crashlytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Unreleased
- [fixed] Fixed an issue where symbol uploads would fail when there are spaces in the project path, particularly in Unity builds (#6789).

# v4.6.2

- [changed] Improved upload-symbols conversion speed. Customers with large dSYMs should see a significant improvement in the time it takes to upload Crashlytics symbols.
Expand Down
16 changes: 6 additions & 10 deletions Crashlytics/run
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,13 @@
# Figure out where we're being called from
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

# If the first argument is specified without a dash, treat it as the Fabric API
# Key and add it as an argument.
if [ -z "$1" ] || [[ $1 == -* ]]; then
API_KEY_ARG=""
else
API_KEY_ARG="-a $1"; shift
fi
# Build up the arguments list, passing through any flags added, and quoting
# every argument in case there are spaces in any of the the paths.
ARGUMENTS=''
for i in "$@"; do
ARGUMENTS="$ARGUMENTS \"$i\""
done

# Build up the arguments list, passing through any flags added after the
# API Key
ARGUMENTS="$API_KEY_ARG $@"
VALIDATE_ARGUMENTS="$ARGUMENTS --build-phase --validate"
UPLOAD_ARGUMENTS="$ARGUMENTS --build-phase"

Expand Down