exportoptions

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: MIT Imports: 5 Imported by: 17

Documentation

Index

Constants

View Source
const (
	// ThinningNone ...
	ThinningNone = "none"
	// ThinningThinForAllVariants ...
	ThinningThinForAllVariants = "thin-for-all-variants"
	// ThinningDefault ...
	ThinningDefault = ThinningNone
)
View Source
const CompileBitcodeDefault = true

CompileBitcodeDefault ...

View Source
const CompileBitcodeKey = "compileBitcode"

CompileBitcodeKey ...

View Source
const DistributionBundleIdentifier = "distributionBundleIdentifier"

DistributionBundleIdentifier ...

View Source
const EmbedOnDemandResourcesAssetPacksInBundleDefault = true

EmbedOnDemandResourcesAssetPacksInBundleDefault ...

View Source
const EmbedOnDemandResourcesAssetPacksInBundleKey = "embedOnDemandResourcesAssetPacksInBundle"

EmbedOnDemandResourcesAssetPacksInBundleKey ...

View Source
const ICloudContainerEnvironmentKey = "iCloudContainerEnvironment"

ICloudContainerEnvironmentKey ...

View Source
const InstallerSigningCertificateKey = "installerSigningCertificate"

InstallerSigningCertificateKey ...

View Source
const ManifestAppURLKey = "appURL"

ManifestAppURLKey ...

View Source
const ManifestAssetPackManifestURLKey = "assetPackManifestURL"

ManifestAssetPackManifestURLKey ...

View Source
const ManifestDisplayImageURLKey = "displayImageURL"

ManifestDisplayImageURLKey ...

View Source
const ManifestFullSizeImageURLKey = "fullSizeImageURL"

ManifestFullSizeImageURLKey ...

View Source
const ManifestKey = "manifest"

ManifestKey ...

View Source
const MethodKey = "method"

MethodKey ...

View Source
const OnDemandResourcesAssetPacksBaseURLKey = "onDemandResourcesAssetPacksBaseURL"

OnDemandResourcesAssetPacksBaseURLKey ....

View Source
const ProvisioningProfilesKey = "provisioningProfiles"

ProvisioningProfilesKey ...

View Source
const SigningCertificateKey = "signingCertificate"

SigningCertificateKey ...

View Source
const SigningStyleKey = "signingStyle"

SigningStyleKey ...

View Source
const TeamIDKey = "teamID"

TeamIDKey ...

View Source
const ThinningKey = "thinning"

ThinningKey ...

View Source
const UploadBitcodeDefault = true

UploadBitcodeDefault ...

View Source
const UploadBitcodeKey = "uploadBitcode"

UploadBitcodeKey ....

View Source
const UploadSymbolsDefault = true

UploadSymbolsDefault ...

View Source
const UploadSymbolsKey = "uploadSymbols"

UploadSymbolsKey ...

Variables

This section is empty.

Functions

func WritePlistToFile

func WritePlistToFile(options map[string]interface{}, pth string) error

WritePlistToFile ...

func WritePlistToTmpFile

func WritePlistToTmpFile(options map[string]interface{}) (string, error)

WritePlistToTmpFile ...

Types

type AppStoreOptionsModel

type AppStoreOptionsModel struct {
	TeamID                             string
	BundleIDProvisioningProfileMapping map[string]string
	SigningCertificate                 string
	InstallerSigningCertificate        string
	SigningStyle                       string
	ICloudContainerEnvironment         ICloudContainerEnvironment
	DistributionBundleIdentifier       string

	// for app-store exports
	UploadBitcode bool
	UploadSymbols bool
	// Should Xcode manage the app's build number when uploading to App Store Connect? Defaults to YES.
	ManageAppVersion bool
}

AppStoreOptionsModel ...

func NewAppStoreOptions

func NewAppStoreOptions() AppStoreOptionsModel

NewAppStoreOptions ...

func (AppStoreOptionsModel) Hash

func (options AppStoreOptionsModel) Hash() map[string]interface{}

Hash ...

func (AppStoreOptionsModel) String

func (options AppStoreOptionsModel) String() (string, error)

String ...

func (AppStoreOptionsModel) WriteToFile

func (options AppStoreOptionsModel) WriteToFile(pth string) error

WriteToFile ...

func (AppStoreOptionsModel) WriteToTmpFile

func (options AppStoreOptionsModel) WriteToTmpFile() (string, error)

WriteToTmpFile ...

type ExportOptions

type ExportOptions interface {
	Hash() map[string]interface{}
	String() (string, error)
	WriteToFile(pth string) error
	WriteToTmpFile() (string, error)
}

ExportOptions ...

type ICloudContainerEnvironment

type ICloudContainerEnvironment string

ICloudContainerEnvironment ...

const (
	// ICloudContainerEnvironmentDevelopment ...
	ICloudContainerEnvironmentDevelopment ICloudContainerEnvironment = "Development"
	// ICloudContainerEnvironmentProduction ...
	ICloudContainerEnvironmentProduction ICloudContainerEnvironment = "Production"
)

type Manifest

type Manifest struct {
	AppURL               string
	DisplayImageURL      string
	FullSizeImageURL     string
	AssetPackManifestURL string
}

Manifest ...

func (Manifest) IsEmpty

func (manifest Manifest) IsEmpty() bool

IsEmpty ...

func (Manifest) ToHash

func (manifest Manifest) ToHash() map[string]string

ToHash ...

type Method

type Method string

Method ...

const (
	// MethodAppStore ...
	MethodAppStore Method = "app-store"
	// MethodAdHoc ...
	MethodAdHoc Method = "ad-hoc"
	// MethodPackage ...
	MethodPackage Method = "package"
	// MethodEnterprise ...
	MethodEnterprise Method = "enterprise"
	// MethodDevelopment ...
	MethodDevelopment Method = "development"
	// MethodDeveloperID ...
	MethodDeveloperID Method = "developer-id"
	// MethodDefault ...
	MethodDefault Method = MethodDevelopment
)

func ParseMethod

func ParseMethod(method string) (Method, error)

ParseMethod ...

type NonAppStoreOptionsModel

type NonAppStoreOptionsModel struct {
	Method                             Method
	TeamID                             string
	BundleIDProvisioningProfileMapping map[string]string
	SigningCertificate                 string
	SigningStyle                       string
	ICloudContainerEnvironment         ICloudContainerEnvironment
	DistributionBundleIdentifier       string

	// for non app-store exports
	CompileBitcode                           bool
	EmbedOnDemandResourcesAssetPacksInBundle bool
	Manifest                                 Manifest
	OnDemandResourcesAssetPacksBaseURL       string
	Thinning                                 string
}

NonAppStoreOptionsModel ...

func NewNonAppStoreOptions

func NewNonAppStoreOptions(method Method) NonAppStoreOptionsModel

NewNonAppStoreOptions ...

func (NonAppStoreOptionsModel) Hash

func (options NonAppStoreOptionsModel) Hash() map[string]interface{}

Hash ...

func (NonAppStoreOptionsModel) String

func (options NonAppStoreOptionsModel) String() (string, error)

String ...

func (NonAppStoreOptionsModel) WriteToFile

func (options NonAppStoreOptionsModel) WriteToFile(pth string) error

WriteToFile ...

func (NonAppStoreOptionsModel) WriteToTmpFile

func (options NonAppStoreOptionsModel) WriteToTmpFile() (string, error)

WriteToTmpFile ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL