Skip to content

Commit 5ffca73

Browse files
authored
plist and main again
1 parent 2be9230 commit 5ffca73

2 files changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
rm -rf ios
2121
npx cap add ios
2222
23+
# Generate icons from your assets folder
2324
npx capacitor-assets generate --ios --assetPath assets
2425
25-
# Force Team ID, Manual Signing, and Distribution Identity into the project file
26+
# Force Team ID into the project file
2627
sed -i '' 's/DEVELOPMENT_TEAM = "";/DEVELOPMENT_TEAM = 28962GZ9UY;/g' ios/App/App.xcodeproj/project.pbxproj
27-
sed -i '' 's/CODE_SIGN_STYLE = Automatic;/CODE_SIGN_STYLE = Manual;/g' ios/App/App.xcodeproj/project.pbxproj
2828
29-
# Inject 'No Encryption' setting for TestFlight
29+
# Inject 'No Encryption' setting for TestFlight compliance
3030
/usr/libexec/PlistBuddy -c "Add :ITSAppUsesNonExemptEncryption bool false" ios/App/App/Info.plist || /usr/libexec/PlistBuddy -c "Set :ITSAppUsesNonExemptEncryption false" ios/App/App/Info.plist
3131
3232
npx cap sync ios
@@ -42,7 +42,7 @@ jobs:
4242
4343
cd ios/App
4444
45-
# We force CODE_SIGN_IDENTITY to 'Apple Distribution' to stop it looking for Development keys
45+
# Use -allowProvisioningUpdates to let the API handle certificates
4646
xcodebuild archive \
4747
-project App.xcodeproj \
4848
-scheme App \
@@ -52,11 +52,7 @@ jobs:
5252
-authenticationKeyID $APPSTORE_KEY_ID \
5353
-authenticationKeyIssuerID $APPSTORE_ISSUER_ID \
5454
-authenticationKeyPath ~/.private_keys/AuthKey_$APPSTORE_KEY_ID.p8 \
55-
-allowProvisioningUpdates \
56-
DEVELOPMENT_TEAM="28962GZ9UY" \
57-
CODE_SIGN_STYLE="Manual" \
58-
CODE_SIGN_IDENTITY="Apple Distribution" \
59-
PROVISIONING_PROFILE_SPECIFIER="NS_Stats_Distribution"
55+
-allowProvisioningUpdates
6056
6157
- name: Export IPA
6258
env:

exportOptions.plist

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<key>teamID</key>
88
<string>28962GZ9UY</string>
99
<key>signingStyle</key>
10-
<string>manual</string>
11-
<key>provisioningProfiles</key>
12-
<dict>
13-
<key>com.mstry9.stats</key>
14-
<string>NS_Stats_Distribution</string>
15-
</dict>
10+
<string>automatic</string>
1611
</dict>
1712
</plist>

0 commit comments

Comments
 (0)