This document describes what needs to be done in Bitirse/AppCenter to start distributing builds for iOS new HA.
iOS:
Create new apps in AppCenter.
We need new apps for Alpha/Beta/ 2 Production tracks.Each app should select os: iOS, platform: react native
You only need to copy the last URL segment, it will be used by Bitrise. For example, if the URL is https://appcenter.ms/orgs/PathCheck/apps/pathcheck-bt-cyprus you will use pathcheck-bt-cyprus (TODO: correct ios image)
...
...
Create new Developer Profile, Adhoc and AppStore Provisioning Profiles w/ GAEN entitlements and .p12 certificate files via (TODO: entitlements link) and save https://pathcheck.atlassian.net/wiki/x/BIBWF. Save .p12 and password in this Google Drive folder (just to keep it in case we lose access to them in Bitrise).
Add 4 new workflows to to bitrise.io:
Code Block |
---|
deploy-[newha]-ios-release: after_run: - run_from_repo deploy-[newha]-ios-testflight: after_run: - run_from_repo deploy-[newha]-ios-staging: after_run: - run_from_repo deploy-[newha]-ios-alpha: after_run: - run_from_repo |
Download the Adhoc and AppStore profiles from developer.apple.com and .p12 files.
Upload Adhoc, AppStores Profiles Via Bitrise → Workflows → Build (TODO: linkWorkflow → Code Signing) Save the UUID for each profile uploaded.
Add those 4 workflows to pathcheck-mobile-resources. Copy the steps from the other workflows and add the Adhoc bitrise UUID to deploy-ios-ha-alpha, deploy-ios-ha-staging and AppStore Profile bitrise UUIDs to deploy-ios-ha-testflight, deploy-ios-ha-release.
Add references to the new workflows in in
deploy-ios-release
,deploy-ios-release-candidates
,deploy-ios-staging, deploy-ios-testflight,
anddeploy-ios-debug
...