File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ A framework that includes **42** popular CocoaPods libraries and **70+** depende
86
86
** Q: Why is CocoaPods not excluded from git-repo?**
87
87
- The project is also used by non-programmers. Let's * keep it simple* .
88
88
89
+ ** Q: Will it affect my other Xcode projects?**
90
+ - A separate build folder is created for the benchmark run that is then deleted after it finishes. The folder goes to about 2.5GB.
91
+
89
92
## Contribution
90
93
91
94
- ** Preferred:** [ Submit a pull request] ( https://github.com/devMEremenko/XcodeBenchmark/pulls ) and add a row to the ` Score ` section.
Original file line number Diff line number Diff line change 1
1
readonly PATH_TO_PROJECT=$( pwd) /XcodeBenchmark.xcworkspace
2
+ readonly PATH_TO_DERIVED=$( pwd) /DerivedData
2
3
3
4
clear
4
5
@@ -7,7 +8,6 @@ echo "Preparing environment"
7
8
START_TIME=$( date +" %T" )
8
9
9
10
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
10
- rm -rf ~ /Library/Developer/Xcode/DerivedData
11
11
12
12
if [ -n " $PATH_TO_PROJECT " ]; then
13
13
@@ -17,6 +17,7 @@ if [ -n "$PATH_TO_PROJECT" ]; then
17
17
xcodebuild -workspace " $PATH_TO_PROJECT " \
18
18
-scheme XcodeBenchmark \
19
19
-destination generic/platform=iOS \
20
+ -derivedDataPath " $PATH_TO_DERIVED " \
20
21
build
21
22
22
23
echo " System Version:" " $( sw_vers -productVersion) "
@@ -53,6 +54,8 @@ if [ -n "$PATH_TO_PROJECT" ]; then
53
54
echo " "
54
55
echo " 2️⃣ Share your results at https://github.com/devMEremenko/XcodeBenchmark"
55
56
57
+ rm -rfd " $PATH_TO_DERIVED "
58
+
56
59
else
57
60
echo " XcodeBenchmark.xcworkspace was not found in the current folder"
58
61
echo " Are you running in the XcodeBenchmark folder?"
You can’t perform that action at this time.
0 commit comments