I have problem with upgrading from Flutter v2.2.3 to v2.5.0 on stable channel. For some reason running flutter build ipa --flavor=myflavor fails with the message:
Build settings from command line:
COMPILER_INDEX_STORE_ENABLE = NO
FLUTTER_SUPPRESS_ANALYTICS = true
SDKROOT = iphoneos14.4
VERBOSE_SCRIPT_LOGGING = YES
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: No profiles for 'com.xxx.xxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.xxx.xxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
I am doing signed builds on different machine and use Github actions only to confirm that build is passing. It worked on older version of Flutter SDK (by specifying with-version. Ofc this can be some settings on my end.
My config file looks like this (details omitted):
name: iOS Lint and build
on: workflow_dispatch
jobs:
build_ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: webfactory/ssh-agent@v0.5.3
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} # <-- using this to pull dependency hosted on private repo
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.5.0' # <-- changed this
- run: touch .env # create empty env file
- run: flutter clean
- run: flutter pub get # download dependencies
- run: flutter analyze # lint source code
- run: make ios # <-- this runs `flutter build ipa --flavor=production --dart-define=ENV=production --verbose --release`
I have problem with upgrading from Flutter
v2.2.3tov2.5.0on stable channel. For some reason runningflutter build ipa --flavor=myflavorfails with the message:I am doing signed builds on different machine and use Github actions only to confirm that build is passing. It worked on older version of Flutter SDK (by specifying
with-version. Ofc this can be some settings on my end.My config file looks like this (details omitted):