diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index 13ac000..a5010d0 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 13ac000..a5010d0 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