You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got error when run flutter build ios but success for android.
$ flutter build ipa $DART_FILE --flavor $BUILD_ENV
Could not find an option named "flavor".
Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit code 1
I got error when run flutter build ios but success for android.
$ flutter build ipa $DART_FILE --flavor $BUILD_ENV
Could not find an option named "flavor".
Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit code 1
My gitlab pipeline:
stages:
Build Android:
stage: build_android
image: ghcr.io/cirruslabs/flutter:3.7.12
script:
- flutter clean
- flutter pub get
- flutter pub run intl_utils:generate
- flutter build apk $DART_FILE --flavor=$BUILD_ENV
artifacts:
paths:
- $APK_PATH
Build iOS:
stage: build_ios
image: ghcr.io/cirruslabs/flutter:3.7.12
script:
- flutter clean
- flutter pub get
- flutter pub run intl_utils:generate
- flutter build ipa $DART_FILE --flavor $BUILD_ENV
artifacts:
paths:
- $IPA_PATH
The text was updated successfully, but these errors were encountered: