File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 35
35
# Set have_secrets to true or false.
36
36
source scripts/check_secrets.sh
37
37
38
- # Get Xcode version
39
- system=$( uname -s)
40
- case " $system " in
41
- Darwin)
42
- xcode_version=$( xcodebuild -version | head -n 1)
43
- xcode_version=" ${xcode_version/ Xcode / } "
44
- xcode_major=" ${xcode_version/ .*/ } "
45
- ;;
46
- * )
47
- xcode_major=" 0"
48
- ;;
49
- esac
50
-
51
38
# Initialize flags
52
39
flags=()
53
40
@@ -100,11 +87,11 @@ function xcb() {
100
87
}
101
88
102
89
# Run xcodebuild
103
- sudo xcode-select -s /Applications/Xcode_16.1 .app/Contents/Developer
90
+ sudo xcode-select -s /Applications/Xcode_15.3 .app/Contents/Developer
104
91
xcb " ${flags[@]} "
105
92
echo " $message "
106
93
107
94
# Zip build-for-testing into MyTests.zip
108
- cd build-for-testing/${SCHEME} /Build/Products
109
- zip -r MyTests.zip Debug-iphoneos * .xctestrun
95
+ cd " build-for-testing/${SCHEME} /Build/Products"
96
+ zip -r MyTests.zip Debug-iphoneos ./ * .xctestrun
110
97
echo " build-for-testing/${SCHEME} /Build/Products zipped into MyTests.zip"
You can’t perform that action at this time.
0 commit comments