Skip to content

Commit 3b2a712

Browse files
authored
Unmasking CI error codes from iOS (#710)
1 parent 3be0794 commit 3b2a712

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

tool/ios_ci_script.sh

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
set -e
4+
set -o pipefail # Necessary so xcpretty won't mask xcodebuild failures later.
45

56
echo "Pre-caching ios artifacts, such as the Flutter.framework"
67
flutter precache --no-web --no-linux --no-windows --no-fuchsia --no-android --no-macos
@@ -21,11 +22,6 @@ pushd add_to_app/fullscreen/flutter_module
2122
flutter packages get
2223
popd
2324

24-
echo "Fetching dependencies and building 'multiple_flutters/multiple_flutters_module'."
25-
pushd add_to_app/multiple_flutters/multiple_flutters_module
26-
flutter packages get
27-
popd
28-
2925
echo "== Testing 'add_to_app/fullscreen/ios_fullscreen' on Flutter's $FLUTTER_VERSION channel =="
3026
pushd "add_to_app/fullscreen/ios_fullscreen"
3127

@@ -76,23 +72,4 @@ COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Release \
7672

7773
popd
7874

79-
echo "== Testing 'add_to_app/multiple_flutters/multiple_flutters_ios' on Flutter's $FLUTTER_VERSION channel =="
80-
pushd "add_to_app/multiple_flutters/multiple_flutters_ios"
81-
82-
pod install
83-
84-
xcodebuild -workspace "MultipleFluttersIos.xcworkspace" \
85-
-scheme "MultipleFluttersIos" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO \
86-
CODE_SIGN_IDENTITY=- EXPANDED_CODE_SIGN_IDENTITY=- \
87-
COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Debug | xcpretty
88-
89-
xcodebuild -workspace "MultipleFluttersIos.xcworkspace" \
90-
-scheme "MultipleFluttersIos" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO \
91-
CODE_SIGN_IDENTITY=- EXPANDED_CODE_SIGN_IDENTITY=- \
92-
COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Release \
93-
-destination generic/platform=iOS | xcpretty
94-
95-
popd
96-
97-
9875
echo "-- Success --"

0 commit comments

Comments
 (0)