Create App Store signing profile during CI
This commit is contained in:
parent
600a7af123
commit
2b276370ec
|
|
@ -14,6 +14,7 @@ workflows:
|
||||||
vars:
|
vars:
|
||||||
XCODE_PROJECT: "Kasztelan.xcodeproj"
|
XCODE_PROJECT: "Kasztelan.xcodeproj"
|
||||||
XCODE_SCHEME: "Kasztelan"
|
XCODE_SCHEME: "Kasztelan"
|
||||||
|
BUNDLE_ID: "uk.co.kasztelan.app.ios"
|
||||||
xcode: latest
|
xcode: latest
|
||||||
scripts:
|
scripts:
|
||||||
- name: Configure Kasztelan API key
|
- name: Configure Kasztelan API key
|
||||||
|
|
@ -23,7 +24,13 @@ workflows:
|
||||||
umask 077
|
umask 077
|
||||||
printf 'KASZTELAN_APP_KEY = %s\n' "$KASZTELAN_APP_KEY" > Config/Secrets.xcconfig
|
printf 'KASZTELAN_APP_KEY = %s\n' "$KASZTELAN_APP_KEY" > Config/Secrets.xcconfig
|
||||||
- name: Configure App Store signing
|
- name: Configure App Store signing
|
||||||
script: xcode-project use-profiles
|
script: |
|
||||||
|
keychain initialize
|
||||||
|
app-store-connect fetch-signing-files "$BUNDLE_ID" \
|
||||||
|
--type IOS_APP_STORE \
|
||||||
|
--create
|
||||||
|
keychain add-certificates
|
||||||
|
xcode-project use-profiles
|
||||||
- name: Build signed IPA
|
- name: Build signed IPA
|
||||||
script: |
|
script: |
|
||||||
xcode-project build-ipa \
|
xcode-project build-ipa \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user