mirror of
https://github.com/flutter/flutter
synced 2024-10-12 19:23:02 +00:00
[integration_test] fix zip command (#74473)
This commit is contained in:
parent
9ba06b4d3b
commit
30cf0d4a16
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue