When merging code to build/test-flight
branch, it is built and uploaded to TestFlight automatically by GitHub Action.
CERTIFICATES_FILE_BASE64
: Base64 of the App Store distribution certificate.CERTIFICATES_PASSWORD
: App Store distribution certificate password.APPSTORE_ISSUER_ID
: App Store Connect API key's issuer ID.APPSTORE_KEY_ID
: App Store Connect API key's key ID.APPSTORE_PRIVATE_KEY
: App Store Connect API key's private key (raw p8 file).
Get base64 of a file:
base64 -i <input-file> -o <output-file>
Update it when changing provisioning entitlement, or when GitHub action is failed because of this file.
You can have the new file by exporting an IPA file using your Xcode, the new ExportOptions.plist
file is in the same folder as the IPA file. Remove the teamID
key. Then replace the old file with the new file.
The GitHub Action configuration follows this example from Apple-Actions' GitHub. Copy and update the Build
file, the .yml
file and create a Support/ExportOptions.plist
file.
DEONTAE-THOMPSON