build_and_test.sh 472 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

set -e

cd "$(dirname "$0")"

pushd flutterapp
../../../../bin/flutter build ios --debug --simulator --no-codesign
popd

pod install

16
xcrun xcodebuild \
17 18
  -workspace ios_add2app.xcworkspace \
  -scheme ios_add2app \
19 20
  -sdk "iphonesimulator" \
  -destination "OS=latest,name=iPhone 12" test