Skip to content

Commit

Permalink
Try distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 30, 2023
1 parent 048ef6c commit a673917
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }} \
Expand Down

0 comments on commit a673917

Please sign in to comment.