ios fixes
This commit is contained in:
parent
8fbfcc113c
commit
16b227cdaa
1 changed files with 17 additions and 4 deletions
|
|
@ -112,10 +112,23 @@ workflows:
|
||||||
- *analyze
|
- *analyze
|
||||||
- *unit_tests
|
- *unit_tests
|
||||||
- name: Fetch signing files
|
- name: Fetch signing files
|
||||||
# Pulls (or creates) the distribution cert + provisioning profile for
|
# Codemagic's automatic signing (the ios_signing block) only *fetches*
|
||||||
# the bundle id via the App Store Connect integration, and writes the
|
# existing certs/profiles — it never creates them. On a fresh account
|
||||||
# export_options.plist the build step reads.
|
# with no distribution cert or App Store profile yet, that fetch is
|
||||||
script: xcode-project use-profiles
|
# empty and `use-profiles` fails with "No matching profiles found".
|
||||||
|
# So we explicitly create-on-miss here: fetch-signing-files --create
|
||||||
|
# mints the Apple Distribution cert + App Store profile via the ASC API
|
||||||
|
# key (the App ID must already be registered), add-certificates loads
|
||||||
|
# the new cert into the build keychain (already initialized by the
|
||||||
|
# ios_signing block), and use-profiles writes export_options.plist.
|
||||||
|
# After the first successful run these resources exist and are simply
|
||||||
|
# reused on subsequent builds.
|
||||||
|
script: |
|
||||||
|
app-store-connect fetch-signing-files "com.troglodyte.timbre" \
|
||||||
|
--type IOS_APP_STORE \
|
||||||
|
--create
|
||||||
|
keychain add-certificates
|
||||||
|
xcode-project use-profiles
|
||||||
- name: Build signed IPA
|
- name: Build signed IPA
|
||||||
script: |
|
script: |
|
||||||
BUILD_NUMBER=$(app-store-connect get-latest-testflight-build-number "$APP_STORE_APPLE_ID" 2>/dev/null || echo 0)
|
BUILD_NUMBER=$(app-store-connect get-latest-testflight-build-number "$APP_STORE_APPLE_ID" 2>/dev/null || echo 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue