Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectConnectionCredentials ¶
func SelectConnectionCredentials( authType AuthType, bitriseConnection *devportalservice.AppleDeveloperConnection, inputs ConnectionOverrideInputs, logger log.Logger) (appleauth.Credentials, error)
SelectConnectionCredentials selects the final credentials for Apple services based on: - connections set up on Bitrise.io (globally for app) - step inputs for overriding the global config
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
Archive ...
func (Archive) GetAppLayout ¶
func (a Archive) GetAppLayout(uiTestTargets bool) (autocodesign.AppLayout, error)
GetAppLayout ...
func (Archive) IsSigningManagedAutomatically ¶
IsSigningManagedAutomatically ...
type AssetWriter ¶
type AssetWriter interface {
ForceCodesignAssets(distribution autocodesign.DistributionType, codesignAssetsByDistributionType map[autocodesign.DistributionType]autocodesign.AppCodesignAssets) error
}
AssetWriter ...
type Config ¶
type Config struct { CertificatesAndPassphrases []certdownloader.CertificateAndPassphrase Keychain keychain.Keychain DistributionMethod autocodesign.DistributionType FallbackProvisioningProfiles []string }
Config ...
type ConnectionOverrideInputs ¶
type ConnectionOverrideInputs struct { APIKeyPath stepconf.Secret APIKeyID string APIKeyIssuerID string }
ConnectionOverrideInputs are used in steps to control the API key based auth credentials This overrides the global API connection defined on Bitrise.io
type DetailsProvider ¶
type DetailsProvider interface { IsSigningManagedAutomatically() (bool, error) Platform() (autocodesign.Platform, error) GetAppLayout(uiTestTargets bool) (autocodesign.AppLayout, error) }
DetailsProvider ...
type Input ¶
type Input struct { AuthType AuthType DistributionMethod string CertificateURLList string CertificatePassphraseList stepconf.Secret KeychainPath string KeychainPassword stepconf.Secret FallbackProvisioningProfiles string }
Input ...
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager ...
func NewManagerWithArchive ¶
func NewManagerWithArchive( opts Opts, appleAuth appleauth.Credentials, bitriseTestDevices []devportalservice.TestDevice, clientFactory devportalclient.Factory, certDownloader autocodesign.CertificateProvider, fallbackProfileDownloader autocodesign.ProfileProvider, assetInstaller autocodesign.AssetWriter, localCodeSignAssetManager autocodesign.LocalCodeSignAssetManager, archive Archive, logger log.Logger, ) Manager
NewManagerWithArchive creates a codesign manager, which reads the code signing asset requirements from an XCArchive file.
func NewManagerWithProject ¶
func NewManagerWithProject( opts Opts, appleAuth appleauth.Credentials, bitriseTestDevices []devportalservice.TestDevice, clientFactory devportalclient.Factory, certDownloader autocodesign.CertificateProvider, fallbackProfileDownloader autocodesign.ProfileProvider, assetInstaller autocodesign.AssetWriter, localCodeSignAssetManager autocodesign.LocalCodeSignAssetManager, project projectmanager.Project, logger log.Logger, ) Manager
NewManagerWithProject creates a codesign manager, which reads the code signing asset requirements from an Xcode Project.
func (*Manager) PrepareCodesigning ¶
func (m *Manager) PrepareCodesigning() (*devportalservice.APIKeyConnection, error)
PrepareCodesigning selects a suitable code signing strategy based on the step and project configuration, then downloads code signing assets (profiles, certificates) and registers test devices if needed