|
1 | | -format_version: '23' |
| 1 | +format_version: '11' |
2 | 2 | default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git |
3 | 3 | project_type: flutter |
4 | | -workflows: |
5 | | - deploy: |
6 | | - description: | |
7 | | - Builds and deploys app using [Deploy to bitrise.io Step](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html#deploying-a-flutter-app). |
8 | | -
|
9 | | - If you build for iOS, make sure to set up code signing secrets on Bitrise for a successful build. |
10 | 4 |
|
11 | | - Next steps: |
12 | | - - Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html) for signing and deployment options. |
13 | | - - Check out the [Code signing guide](https://devcenter.bitrise.io/en/code-signing.html) for iOS and Android |
14 | | - steps: |
15 | | - - git-clone@8: {} |
16 | | - - certificate-and-profile-installer@1: {} |
17 | | - - flutter-installer@0: |
18 | | - inputs: |
19 | | - - version: 3.35.5 |
20 | | - - is_update: 'false' |
21 | | - - flutter-analyze@0: |
22 | | - inputs: |
23 | | - - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" |
24 | | - - flutter-test@1: |
25 | | - inputs: |
26 | | - - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" |
27 | | - - flutter-build@0: |
28 | | - inputs: |
29 | | - - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" |
30 | | - - platform: both |
31 | | - - ios_output_type: archive |
32 | | - - deploy-to-bitrise-io@2: {} |
33 | | - primary: |
34 | | - description: | |
35 | | - Builds project and runs tests. |
36 | | -
|
37 | | - Next steps: |
38 | | - - Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html). |
| 5 | +workflows: |
| 6 | + ios_unsigned_build: |
39 | 7 | steps: |
40 | | - - git-clone@8: {} |
41 | | - - flutter-installer@0: |
42 | | - inputs: |
43 | | - - version: 3.35.5 |
44 | | - - is_update: 'false' |
45 | | - - restore-dart-cache@2: {} |
46 | | - - flutter-test@1: |
47 | | - inputs: |
48 | | - - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" |
49 | | - - save-dart-cache@1: {} |
50 | | - - deploy-to-bitrise-io@2: {} |
51 | | - triggers: |
52 | | - push: |
53 | | - - branch: main |
54 | | - pull_request: |
55 | | - - source_branch: "*" |
56 | | -meta: |
57 | | - bitrise.io: |
58 | | - stack: osx-xcode-16.4.x |
59 | | - machine_type_id: g2.mac.large |
60 | | -app: |
61 | | - envs: |
62 | | - - BITRISE_FLUTTER_PROJECT_LOCATION: "." |
63 | | - opts: |
64 | | - is_expand: false |
| 8 | + - git::https://github.com/bitrise-io/[email protected]: {} |
| 9 | + - script@1: |
| 10 | + title: Activate FlutterFire CLI and Melos |
| 11 | + inputs: |
| 12 | + - content: |- |
| 13 | + #!/bin/bash |
| 14 | + dart pub global activate flutterfire_cli || echo "FlutterFire CLI activation failed, continuing..." |
| 15 | + dart pub global activate melos || echo "Melos activation failed, continuing..." |
| 16 | + melos bootstrap || echo "Melos bootstrap failed, continuing..." |
| 17 | + - flutter-install@0: {} |
| 18 | + - flutter-pub-get@0: {} |
| 19 | + - cocoapods-install@1: |
| 20 | + title: Install CocoaPods dependencies |
| 21 | + - flutter-analyze@0: {} |
| 22 | + - flutter-test@0: |
| 23 | + continue_on_error: true |
| 24 | + - flutter-build@0: |
| 25 | + inputs: |
| 26 | + platform: ios |
| 27 | + ios_export_method: 'development' |
| 28 | + ios_code_signing_identity: '' |
| 29 | + ios_code_signing_required: 'no' |
| 30 | + ios_export_options: | |
| 31 | + <plist version="1.0"> |
| 32 | + <dict> |
| 33 | + <key>compileBitcode</key> |
| 34 | + <false/> |
| 35 | + <key>method</key> |
| 36 | + <string>development</string> |
| 37 | + </dict> |
| 38 | + </plist> |
| 39 | + flutter_build_ios_no_codesign: 'true' |
| 40 | + release: 'true' |
| 41 | + - deploy-to-bitrise-io@1: {} |
0 commit comments