File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,15 @@ A framework that includes **42** popular CocoaPods libraries and **70+** depende
162162** Q: Why is CocoaPods not excluded from git-repo?**
163163- The project is also used by non-programmers. Let's * keep it simple* .
164164
165+ ** Q: Will it affect my other Xcode projects?**
166+ - A separate build folder is created for the benchmark run that is then deleted after it finishes. The folder goes to about 2.5GB.
167+
165168## YouTubers and bloggers
166169
167170You are free to use these results in your videos and articles as well as to run XcodeBenchmark to compare Macs.
168171Please make sure to add [ the link] ( https://github.com/devMEremenko/XcodeBenchmark/ ) to this repository.
169172
173+
170174## Contribution
171175
172176** Since May 3, 2021, XcodeBenchmark must be used with Xcode 12.5 or above.**
Original file line number Diff line number Diff line change 11readonly PATH_TO_PROJECT=$( pwd) /XcodeBenchmark.xcworkspace
2+ readonly PATH_TO_DERIVED=$( pwd) /DerivedData
23
34clear
45
@@ -7,7 +8,6 @@ echo "Preparing environment"
78START_TIME=$( date +" %T" )
89
910defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
10- rm -rf ~ /Library/Developer/Xcode/DerivedData
1111
1212if [ -n " $PATH_TO_PROJECT " ]; then
1313
@@ -17,6 +17,7 @@ if [ -n "$PATH_TO_PROJECT" ]; then
1717 xcodebuild -workspace " $PATH_TO_PROJECT " \
1818 -scheme XcodeBenchmark \
1919 -destination generic/platform=iOS \
20+ -derivedDataPath " $PATH_TO_DERIVED " \
2021 build
2122
2223 echo " System Version:" " $( sw_vers -productVersion) "
@@ -53,6 +54,8 @@ if [ -n "$PATH_TO_PROJECT" ]; then
5354 echo " "
5455 echo " 2️⃣ Share your results at https://github.com/devMEremenko/XcodeBenchmark"
5556
57+ rm -rfd " $PATH_TO_DERIVED "
58+
5659else
5760 echo " XcodeBenchmark.xcworkspace was not found in the current folder"
5861 echo " Are you running in the XcodeBenchmark folder?"
You can’t perform that action at this time.
0 commit comments