Skip to content

Github action for prepare signing of an iOS application

License

Notifications You must be signed in to change notification settings

ngeri/prepare-signing

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prepare signing for iOS build action

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!

How to add a secrets?

Base64 encoded string of a p12 file can be created with the below command

base64 path/to/p12/file

Inputs

appStoreConnectPrivateKey

Required App Store Connect private key with proper rights.

keyID

Required Identifier of the private key.

issuerID

Required Issuer identifier.

keychainName

Optional Id of the temporary keychain. Default signing.ios.

keychainPassword

Optional Password of temporary keychain. Default signing.ios.

base64P12File

Required Base64 encoded .p12 signing cert with private key.

p12Password

Required Password of the .p12 file.

bundleIdentifier

Required Bundle identifier of the application.

signType

Required E.g.: IOS_APP_DEVELOPMENT, IOS_APP_STORE etc.

Example usage

- 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 }}

About

Github action for prepare signing of an iOS application

Resources

License

Stars

Watchers

Forks

Packages

No packages published