Documentation
¶
Index ¶
- func ExportDSYMs(dsymDir string, dsyms []string) error
- func ExportOutputDir(cmdFactory command.Factory, sourceDirPth, destinationDirPth, envKey string, ...) error
- func ExportOutputDirAsZip(cmdFactory command.Factory, sourceDirPth, destinationPth, envKey string, ...) error
- func ExportOutputFile(cmdFactory command.Factory, sourcePth, destinationPth, envKey string) error
- func ExportOutputFileContent(cmdFactory command.Factory, content, destinationPth, envKey string) error
- func OpenArchivableProject(pth, schemeName, configurationName string) (*xcodeproj.XcodeProj, *xcscheme.Scheme, string, error)
- func Run(inputs *Inputs, logFile *os.File) int
- type Config
- type EnsureDependenciesOpts
- type ExportOpts
- type Inputs
- type NSError
- type Platform
- type Printable
- type RunOpts
- type RunResult
- type TargetBuildSettingsProvider
- type XCPrettyInstallError
- type XcodeBuild
- type XcodeVersionProvider
- type XcodebuildArchiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportOutputDir ¶
func ExportOutputDir(cmdFactory command.Factory, sourceDirPth, destinationDirPth, envKey string, logger log.Logger) error
ExportOutputDir ...
func ExportOutputDirAsZip ¶
func ExportOutputDirAsZip(cmdFactory command.Factory, sourceDirPth, destinationPth, envKey string, logger log.Logger) error
ExportOutputDirAsZip ...
func ExportOutputFile ¶
ExportOutputFile ...
func ExportOutputFileContent ¶
func ExportOutputFileContent(cmdFactory command.Factory, content, destinationPth, envKey string) error
ExportOutputFileContent ...
func OpenArchivableProject ¶
Types ¶
type Config ¶
type Config struct {
Inputs
XcodeMajorVersion int
XcodebuildAdditionalOptions []string
CodesignManager *codesign.Manager // nil if automatic code signing is "off"
}
Config ...
type EnsureDependenciesOpts ¶
type EnsureDependenciesOpts struct {
XCPretty bool
}
EnsureDependenciesOpts ...
type ExportOpts ¶
type ExportOpts struct {
OutputDir string
ArtifactName string
ExportAllDsyms bool
Archive *xcarchive.IosArchive
ExportOptionsPath string
IPAExportDir string
XcodebuildArchiveLog string
XcodebuildExportArchiveLog string
IDEDistrubutionLogsDir string
}
ExportOpts ...
type Inputs ¶
type Inputs struct {
ExportMethod string `env:"distribution_method,opt[app-store,ad-hoc,enterprise,development]"`
UploadBitcode bool `env:"upload_bitcode,opt[yes,no]"`
CompileBitcode bool `env:"compile_bitcode,opt[yes,no]"`
ICloudContainerEnvironment string `env:"icloud_container_environment"`
ExportDevelopmentTeam string `env:"export_development_team"`
ExportOptionsPlistContent string `env:"export_options_plist_content"`
LogFormatter string `env:"log_formatter,opt[xcpretty,xcodebuild]"`
ProjectPath string `env:"project_path,file"`
Scheme string `env:"scheme,required"`
Configuration string `env:"configuration"`
OutputDir string `env:"output_dir,required"`
PerformCleanAction bool `env:"perform_clean_action,opt[yes,no]"`
XcodebuildOptions string `env:"xcodebuild_options"`
XcconfigContent string `env:"xcconfig_content"`
ExportAllDsyms bool `env:"export_all_dsyms,opt[yes,no]"`
ArtifactName string `env:"artifact_name"`
VerboseLog bool `env:"verbose_log,opt[yes,no]"`
CacheLevel string `env:"cache_level,opt[none,swift_packages]"`
CodeSigningAuthSource string `env:"automatic_code_signing,opt[off,api-key,apple-id]"`
CertificateURLList string `env:"certificate_url_list"`
CertificatePassphraseList stepconf.Secret `env:"passphrase_list"`
KeychainPath string `env:"keychain_path"`
KeychainPassword stepconf.Secret `env:"keychain_password"`
RegisterTestDevices bool `env:"register_test_devices,opt[yes,no]"`
TestDeviceListPath string `env:"test_device_list_path"`
MinDaysProfileValid int `env:"min_profile_validity,required"`
FallbackProvisioningProfileURLs string `env:"fallback_provisioning_profile_url_list"`
APIKeyPath stepconf.Secret `env:"api_key_path"`
APIKeyID string `env:"api_key_id"`
APIKeyIssuerID string `env:"api_key_issuer_id"`
BuildURL string `env:"BITRISE_BUILD_URL"`
BuildAPIToken stepconf.Secret `env:"BITRISE_BUILD_API_TOKEN"`
}
Inputs ...
type NSError ¶
func NewNSError ¶
type RunOpts ¶
type RunOpts struct {
// Shared
ProjectPath string
Scheme string
Configuration string
LogFormatter string
XcodeMajorVersion int
ArtifactName string
// Code signing, nil if automatic code signing is "off"
CodesignManager *codesign.Manager
// Archive
PerformCleanAction bool
XcconfigContent string
XcodebuildAdditionalOptions []string
CacheLevel string
// IPA Export
CustomExportOptionsPlistContent string
ExportMethod string
ICloudContainerEnvironment string
ExportDevelopmentTeam string
UploadBitcode bool
CompileBitcode bool
}
RunOpts ...
type RunResult ¶
type RunResult struct {
Archive *xcarchive.IosArchive
ArtifactName string
ExportOptionsPath string
IPAExportDir string
XcodebuildArchiveLog string
XcodebuildExportArchiveLog string
IDEDistrubutionLogsDir string
}
RunResult ...
type XCPrettyInstallError ¶
type XCPrettyInstallError struct {
// contains filtered or unexported fields
}
XCPrettyInstallError is used to signal an error around xcpretty installation
func (XCPrettyInstallError) Error ¶
func (e XCPrettyInstallError) Error() string
type XcodeBuild ¶
type XcodeBuild struct {
}
func (XcodeBuild) TargetBuildSettings ¶
func (x XcodeBuild) TargetBuildSettings(xcodeProj *xcodeproj.XcodeProj, target, configuration string, customOptions ...string) (serialized.Object, error)
type XcodeVersionProvider ¶
type XcodeVersionProvider interface {
GetXcodeVersion() (models.XcodebuildVersionModel, error)
}
func NewXcodebuildXcodeVersionProvider ¶
func NewXcodebuildXcodeVersionProvider() XcodeVersionProvider
type XcodebuildArchiver ¶
type XcodebuildArchiver struct {
// contains filtered or unexported fields
}
XcodebuildArchiver ...
func NewXcodebuildArchiver ¶
func NewXcodebuildArchiver(xcodeVersionProvider XcodeVersionProvider, stepInputParser stepconf.InputParser, pathProvider pathutil.PathProvider, pathChecker pathutil.PathChecker, pathModifier pathutil.PathModifier, fileManager fileutil.FileManager, logger log.Logger, cmdFactory command.Factory) XcodebuildArchiver
NewXcodebuildArchiver ...
func (XcodebuildArchiver) EnsureDependencies ¶
func (s XcodebuildArchiver) EnsureDependencies(opts EnsureDependenciesOpts) error
EnsureDependencies ...
func (XcodebuildArchiver) ExportOutput ¶
func (s XcodebuildArchiver) ExportOutput(opts ExportOpts) error
ExportOutput ...
func (XcodebuildArchiver) ProcessInputs ¶
func (s XcodebuildArchiver) ProcessInputs(inputs Inputs) (Config, error)
ProcessInputs ...
Click to show internal directories.
Click to hide internal directories.