GitHub Action
Prepare signing
This action helps to provide necessary certificates and provisioning profiles for xcodebuild
's archive
and exportArchive
commands.
It can import the provided singing certificate into an unlocked keychain. It fetches the proper provisioning profile into folder ~/Library/MobileDevice/Provisioning Profiles
.
Please use secrets when appropriate!
Base64 encoded string of a p12 file can be created with the below command
base64 path/to/p12/file
Required App Store Connect private key with proper rights.
Required Identifier of the private key.
Required Issuer identifier.
Optional Id of the temporary keychain. Default signing.ios
.
Optional Password of temporary keychain. Default signing.ios
.
Required Base64 encoded .p12 signing cert with private key.
Required Password of the .p12 file.
Required Bundle identifier of the application.
Required E.g.: IOS_APP_DEVELOPMENT, IOS_APP_STORE etc.
- name: Prepare signing
uses: ngeri/prepare-signing@v1.0.2
with:
appStoreConnectPrivateKey: ${{ secrets.appStoreConnectPrivateKey }}
keyID: ${{ env.keyID }}
issuerID: ${{ env.issuerID }}
keychainName: ${{ secrets.keychainName }}
keychainPassword: ${{ secrets.keychainPassword }}
base64P12File: ${{ secrets.base64P12File }}
p12Password: ${{ secrets.p12Password }}
bundleIdentifier: ${{ env.bundleIdentifier }}
signType: ${{ env.signType }}