Skip to content

Commit 35ba5f3

Browse files
authored
Delete extra copies of the Crashlytics tools for testapps (#10657)
1 parent 8913a64 commit 35ba5f3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Crashlytics/generate_project.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ readonly DIR="$( git rev-parse --show-toplevel )"
2020
"$DIR/Crashlytics/ProtoSupport/generate_crashlytics_protos.sh" || echo "Something went wrong generating protos.";
2121

2222
pod gen "${DIR}/FirebaseCrashlytics.podspec" --auto-open --gen-directory="${DIR}/gen" --local-sources="${DIR}" --platforms=ios,macos,tvos --clean
23+
24+
# Upon a `pod install`, Crashlytics will copy these files at the root directory
25+
# due to a funky interaction with its cocoapod. This line deletes these extra
26+
# copies of the files as they should only live in Crashlytics/
27+
rm -f $DIR/run $DIR/upload-symbols

FirebaseSessions/generate_testapp.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,10 @@ fi
4848
echoColor "Running 'pod install'"
4949
cd $DIR/FirebaseSessions/Tests/TestApp
5050
pod install
51+
52+
# Upon a `pod install`, Crashlytics will copy these files at the root directory
53+
# due to a funky interaction with its cocoapod. This line deletes these extra
54+
# copies of the files as they should only live in Crashlytics/
55+
rm -f $DIR/run $DIR/upload-symbols
56+
5157
open *.xcworkspace

0 commit comments

Comments
 (0)