Skip to content

Unmasking CI error codes from iOS #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions tool/ios_ci_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

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

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

echo "Fetching dependencies and building 'multiple_flutters/multiple_flutters_module'."
pushd add_to_app/multiple_flutters/multiple_flutters_module
flutter packages get
popd

echo "== Testing 'add_to_app/fullscreen/ios_fullscreen' on Flutter's $FLUTTER_VERSION channel =="
pushd "add_to_app/fullscreen/ios_fullscreen"

Expand Down Expand Up @@ -76,23 +72,4 @@ COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Release \

popd

echo "== Testing 'add_to_app/multiple_flutters/multiple_flutters_ios' on Flutter's $FLUTTER_VERSION channel =="
pushd "add_to_app/multiple_flutters/multiple_flutters_ios"

pod install

xcodebuild -workspace "MultipleFluttersIos.xcworkspace" \
-scheme "MultipleFluttersIos" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_IDENTITY=- EXPANDED_CODE_SIGN_IDENTITY=- \
COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Debug | xcpretty

xcodebuild -workspace "MultipleFluttersIos.xcworkspace" \
-scheme "MultipleFluttersIos" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_IDENTITY=- EXPANDED_CODE_SIGN_IDENTITY=- \
COMPILER_INDEX_STORE_ENABLE=NO CONFIGURATION=Release \
-destination generic/platform=iOS | xcpretty

popd


echo "-- Success --"