From 30cf0d4a1657ce7b3d3a9384065bd84670dcf9ea Mon Sep 17 00:00:00 2001 From: Romain Rastel Date: Mon, 25 Jan 2021 21:16:06 +0100 Subject: [PATCH] [integration_test] fix zip command (#74473) --- packages/integration_test/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md index fd18b3d833..44ee9ac9ac 100644 --- a/packages/integration_test/README.md +++ b/packages/integration_test/README.md @@ -226,7 +226,7 @@ Execute this script at the root of your Flutter app: ```sh output="../build/ios_integ" -product="$output/Build/Products" +product="build/ios_integ/Build/Products" dev_target="14.3" # Pass --simulator if building for the simulator. @@ -234,7 +234,10 @@ flutter build ios integration_test/foo_test.dart -release pushd ios xcodebuild -workspace Runner.xcworkspace -scheme Runner -config Flutter/Release.xcconfig -derivedDataPath $output -sdk iphoneos build-for-testing -zip -r "$output/ios_tests.zip" "$product/Release-iphoneos" "$product/Runner_iphoneos$dev_target-arm64.xctestrun" +popd + +pushd $product +zip -r "ios_tests.zip" "Release-iphoneos" "Runner_iphoneos$dev_target-arm64.xctestrun" popd ```