Skip to content

Commit c6be196

Browse files
committed
try ci
1 parent ec84f72 commit c6be196

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

.github/workflows/deploy-tauri.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -158,29 +158,29 @@ jobs:
158158
run: |
159159
pnpm tauri android init
160160
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."
184184

185185
- name: Import Apple iOS Certificate
186186
if: matrix.ios
@@ -216,7 +216,7 @@ jobs:
216216
env:
217217
APPLE_SIGNING_IDENTITY: ${{ env.MOBILE_CERT_ID }}
218218
run: |
219-
pnpm tauri ios build --verbose
219+
pnpm tauri ios build --verbose --export-method app-store-connect
220220
221221
- name: Build Android app
222222
if: matrix.android

src-tauri/gen/apple/app.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
CODE_SIGN_IDENTITY = "Apple Distribution";
261261
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
262262
CODE_SIGN_STYLE = Manual;
263-
DEVELOPMENT_TEAM = BL2RJ5DCNK;
264-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BL2RJ5DCNK;
263+
DEVELOPMENT_TEAM = "BL2RJ5DCNK";
264+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "BL2RJ5DCNK";
265265
ENABLE_BITCODE = NO;
266266
"EXCLUDED_ARCHS[sdk=iphoneos*]" = "arm64-sim x86_64";
267267
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -373,8 +373,8 @@
373373
CODE_SIGN_IDENTITY = "Apple Distribution";
374374
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
375375
CODE_SIGN_STYLE = Manual;
376-
DEVELOPMENT_TEAM = BL2RJ5DCNK;
377-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BL2RJ5DCNK;
376+
DEVELOPMENT_TEAM = "BL2RJ5DCNK";
377+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "BL2RJ5DCNK";
378378
ENABLE_BITCODE = NO;
379379
"EXCLUDED_ARCHS[sdk=iphoneos*]" = "arm64-sim x86_64";
380380
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;

src-tauri/tauri.conf.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"active": true,
2929
"createUpdaterArtifacts": true,
3030
"macOS": {
31-
"signingIdentity": "-"
3231
},
3332
"targets": "all",
3433
"icon": [

0 commit comments

Comments
 (0)