@@ -158,29 +158,29 @@ jobs:
158
158
run : |
159
159
pnpm tauri android init
160
160
161
- - name : Import Apple Developer Certificate
162
- if : matrix.platform == 'macos-latest'
163
- env :
164
- APPLE_CERTIFICATE : ${{ secrets.APPLE_CERTIFICATE }}
165
- APPLE_CERTIFICATE_PASSWORD : ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
166
- KEYCHAIN_PASSWORD : ${{ secrets.KEYCHAIN_PASSWORD }}
167
- run : |
168
- echo $APPLE_CERTIFICATE | base64 --decode > certificate.p12
169
- security create-keychain -p "$KEYCHAIN_PASSWORD" desktop.keychain
170
- security default-keychain -s desktop.keychain
171
- security unlock-keychain -p "$KEYCHAIN_PASSWORD" desktop.keychain
172
- security import certificate.p12 -k desktop.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign
173
- security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" desktop.keychain
174
- security find-identity -v -p codesigning desktop.keychain
175
-
176
- - name : Verify Apple Developer Certificate
177
- if : matrix.platform == 'macos-latest'
178
- run : |
179
- set -x
180
- DESKTOP_CERT_INFO=$(security find-identity -v -p codesigning desktop.keychain | grep "Developer ID Application")
181
- DESKTOP_CERT_ID=$(echo "$DESKTOP_CERT_INFO" | awk -F'"' '{print $2}')
182
- echo "DESKTOP_CERT_ID=$DESKTOP_CERT_ID" >> $GITHUB_ENV
183
- echo "Certificate imported."
161
+ # - name: Import Apple Developer Certificate
162
+ # if: matrix.platform == 'macos-latest'
163
+ # env:
164
+ # APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
165
+ # APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
166
+ # KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
167
+ # run: |
168
+ # echo $APPLE_CERTIFICATE | base64 --decode > certificate.p12
169
+ # security create-keychain -p "$KEYCHAIN_PASSWORD" desktop.keychain
170
+ # security default-keychain -s desktop.keychain
171
+ # security unlock-keychain -p "$KEYCHAIN_PASSWORD" desktop.keychain
172
+ # security import certificate.p12 -k desktop.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign
173
+ # security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KEYCHAIN_PASSWORD" desktop.keychain
174
+ # security find-identity -v -p codesigning desktop.keychain
175
+
176
+ # - name: Verify Apple Developer Certificate
177
+ # if: matrix.platform == 'macos-latest'
178
+ # run: |
179
+ # set -x
180
+ # DESKTOP_CERT_INFO=$(security find-identity -v -p codesigning desktop.keychain | grep "Developer ID Application")
181
+ # DESKTOP_CERT_ID=$(echo "$DESKTOP_CERT_INFO" | awk -F'"' '{print $2}')
182
+ # echo "DESKTOP_CERT_ID=$DESKTOP_CERT_ID" >> $GITHUB_ENV
183
+ # echo "Certificate imported."
184
184
185
185
- name : Import Apple iOS Certificate
186
186
if : matrix.ios
@@ -216,7 +216,7 @@ jobs:
216
216
env :
217
217
APPLE_SIGNING_IDENTITY : ${{ env.MOBILE_CERT_ID }}
218
218
run : |
219
- pnpm tauri ios build --verbose
219
+ pnpm tauri ios build --verbose --export-method app-store-connect
220
220
221
221
- name : Build Android app
222
222
if : matrix.android
0 commit comments