From a6739179d50eea8a3fb0e620974a340f9321a914 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Sun, 30 Jul 2023 19:33:18 +0700 Subject: [PATCH] Try distribution --- .github/workflows/ios.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index ac5adff304..0a22ad18f9 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -27,9 +27,8 @@ jobs: - uses: Apple-Actions/import-codesign-certs@v2 with: - p12-file-base64: ${{ env.CI_USE_IOS_DIST_CERT && secrets.APPLE_CODESIGN_CERT_BASE64_DIST || secrets.APPLE_CODESIGN_CERT_BASE64_DEV }} - p12-password: ${{ env.CI_USE_IOS_DIST_CERT && secrets.APPLE_CODESIGN_CERT_PASS_DIST || secrets.APPLE_CODESIGN_CERT_PASS_DEV }} - + p12-file-base64: ${{ secrets.APPLE_CODESIGN_CERT_BASE64_DIST }} + p12-password: ${{ secrets.APPLE_CODESIGN_CERT_PASS_DIST }} - name: 💐 Install Qt uses: jurplel/install-qt-action@v3 @@ -97,9 +96,9 @@ jobs: -D ENABLE_BITCODE=OFF \ -D ENABLE_ARC=ON \ -D QT_IOS_TEAM_ID="${{ secrets.IOS_TEAM_ID }}" \ - -D QT_IOS_CODE_SIGN_IDENTITY="${{env.CI_USE_IOS_DIST_CERT && 'Apple Distribution' || 'Apple Development' }}" \ - -D QT_IOS_PROVISIONING_PROFILE_SPECIFIER="${{env.CI_USE_IOS_DIST_CERT && secrets.IOS_PROVISIONING_PROFILE_SPECIFIER || secrets.IOS_PROVISIONING_PROFILE_SPECIFIER_DEV }}" \ - -D QT_IOS_EXPORT_METHOD="${{env.CI_USE_IOS_DIST_CERT && 'app-store' || 'development' }}" \ + -D QT_IOS_CODE_SIGN_IDENTITY="${{ 'Apple Distribution' }}" \ + -D QT_IOS_PROVISIONING_PROFILE_SPECIFIER="${{ secrets.IOS_PROVISIONING_PROFILE_SPECIFIER }}" \ + -D QT_IOS_EXPORT_METHOD="${{ 'app-store' }}" \ -D CMAKE_SYSTEM_NAME=iOS \ -D CMAKE_SYSTEM_PROCESSOR=aarch64 \ -D CMAKE_OSX_DEPLOYMENT_TARGET=${{ env.DEPLOYMENT_TARGET }} \