Skip to content

Commit ff5bc21

Browse files
committed
ios debug cicd
1 parent 7ae4b6a commit ff5bc21

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ios-testflight.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ jobs:
5757
p12-password: ${{ secrets.IOS_DIST_P12_PASSWORD }}
5858
mobileprovision-file-base64: ${{ secrets.IOS_MOBILEPROVISION_BASE64 }}
5959

60-
- name: Authenticate with App Store Connect (API key)
61-
uses: apple-actions/authenticate-app-store-connect@v2
62-
with:
63-
api-key-id: ${{ vars.APPSTORE_API_KEY_ID }}
64-
api-issuer-id: ${{ vars.APPSTORE_ISSUER_ID }}
65-
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
66-
6760
- name: Bump build number
6861
working-directory: ios
6962
run: xcrun agvtool new-version -all $GITHUB_RUN_NUMBER
@@ -79,7 +72,9 @@ jobs:
7972
clean archive \
8073
DEVELOPMENT_TEAM=YLK778Z528 \
8174
PRODUCT_BUNDLE_IDENTIFIER=com.routstr.localplusplus \
82-
CODE_SIGN_STYLE=Automatic \
75+
CODE_SIGN_STYLE=Manual \
76+
CODE_SIGN_IDENTITY="Apple Distribution" \
77+
PROVISIONING_PROFILE_SPECIFIER="${{ secrets.IOS_PROVISIONING_PROFILE_NAME }}" \
8378
COMPILER_INDEX_STORE_ENABLE=NO \
8479
-allowProvisioningUpdates
8580
@@ -95,12 +90,17 @@ jobs:
9590
<dict>
9691
<key>method</key>
9792
<string>app-store-connect</string>
98-
<key>signingStyle</key>
99-
<string>automatic</string>
93+
<key>signingStyle</key>
94+
<string>manual</string>
10095
<key>stripSwiftSymbols</key>
10196
<true/>
10297
<key>teamID</key>
10398
<string>YLK778Z528</string>
99+
<key>provisioningProfiles</key>
100+
<dict>
101+
<key>com.routstr.localplusplus</key>
102+
<string>${{ secrets.IOS_PROVISIONING_PROFILE_NAME }}</string>
103+
</dict>
104104
<key>authenticationKeyID</key>
105105
<string>${{ vars.APPSTORE_API_KEY_ID }}</string>
106106
<key>authenticationKeyIssuerID</key>

0 commit comments

Comments
 (0)