From 2dcfd87d4e6234c3ad1ac8eaadeb255f6e63d6de Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:12:09 +0100 Subject: [PATCH] changed provision path --- .github/workflows/build_apk.yml | 6 +++--- .github/workflows/build_ipa.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index 13ac000e..a5010d0e 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -40,8 +40,8 @@ jobs: run: | PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH - mkdir -p ~/Library/MobileDevice\Provisioning\ Profiles - cp $PROVISION_CERT_PATH ~/Library/MobileDevice\Provisioning\ Profiles + mkdir -p ~/Library/MobileDevice/profiles + cp $PP_PROD_PATH ~/Library/MobileDevice/profiles - name: Restore firebase_options.dart run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart" @@ -59,7 +59,7 @@ jobs: flutter pub run intl_utils:generate - name: Build .ipa - run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart + run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart - name: Upload artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/build_ipa.yml b/.github/workflows/build_ipa.yml index 13ac000e..a5010d0e 100644 --- a/.github/workflows/build_ipa.yml +++ b/.github/workflows/build_ipa.yml @@ -40,8 +40,8 @@ jobs: run: | PROVISION_CERT_PATH=$RUNNER_TEMP/Lightmeter.mobileprovision bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_PROVISION_PROD }}" $PROVISION_CERT_PATH - mkdir -p ~/Library/MobileDevice\Provisioning\ Profiles - cp $PROVISION_CERT_PATH ~/Library/MobileDevice\Provisioning\ Profiles + mkdir -p ~/Library/MobileDevice/profiles + cp $PP_PROD_PATH ~/Library/MobileDevice/profiles - name: Restore firebase_options.dart run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart" @@ -59,7 +59,7 @@ jobs: flutter pub run intl_utils:generate - name: Build .ipa - run: flutter build ipa --release --flavor $FLAVOR -t lib/main_$FLAVOR.dart + run: flutter build ipa --release --export-options-plist=ios/Runner/ExportOptions.plist --flavor $FLAVOR -t lib/main_$FLAVOR.dart - name: Upload artifact uses: actions/upload-artifact@v3