[integration_test] fix zip command (#74473)

This commit is contained in:
Romain Rastel 2021-01-25 21:16:06 +01:00 committed by GitHub
parent 9ba06b4d3b
commit 30cf0d4a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```