exportoptionsgenerator

package
v2.0.0-alpha.70 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// AppClipProductType ...
	AppClipProductType = "com.apple.product-type.application.on-demand-install-capable"
)

Variables

This section is empty.

Functions

func ArchivableApplicationTarget

func ArchivableApplicationTarget(xcodeProj *xcodeproj.XcodeProj, scheme *xcscheme.Scheme) (*xcodeproj.Target, error)

ArchivableApplicationTarget locate archivable app target from a given project and scheme

Types

type ArchiveInfo

type ArchiveInfo struct {
	AppBundleID            string
	AppClipBundleID        string
	EntitlementsByBundleID map[string]plistutil.PlistData
}

ArchiveInfo contains the distribution bundle ID(s) and entitlements of the main target and its dependencies.

func ReadArchiveExportInfo

func ReadArchiveExportInfo(archive xcarchive.IosArchive) (ArchiveInfo, error)

ReadArchiveExportInfo ...

func ReadArchiveInfoFromXcodeproject

func ReadArchiveInfoFromXcodeproject(xcodeProj *xcodeproj.XcodeProj, scheme *xcscheme.Scheme, configuration string) (ArchiveInfo, error)

ReadArchiveInfoFromXcodeproject reads the Bundle ID for the given scheme and configuration.

type CodeSignGroupProvider

type CodeSignGroupProvider interface {
	DetermineCodesignGroup(certificates []certificateutil.CertificateInfoModel, profiles []profileutil.ProvisioningProfileInfoModel, defaultProfile *profileutil.ProvisioningProfileInfoModel, bundleIDEntitlementsMap map[string]plistutil.PlistData, exportMethod exportoptions.Method, teamID string, xcodeManaged bool) (*export.IosCodeSignGroup, error)
}

CodeSignGroupProvider ...

func NewCodeSignGroupProvider

func NewCodeSignGroupProvider(logger log.Logger) CodeSignGroupProvider

NewCodeSignGroupProvider ...

type CodesignIdentityProvider

type CodesignIdentityProvider interface {
	ListCodesignIdentities() ([]certificateutil.CertificateInfoModel, error)
}

CodesignIdentityProvider can list certificate infos.

type ExportOptionsGenerator

type ExportOptionsGenerator struct {
	// contains filtered or unexported fields
}

ExportOptionsGenerator generates an exportOptions.plist file.

func New

func New(xcodeVersionReader xcodeversion.Reader, logger log.Logger) ExportOptionsGenerator

New constructs a new ExportOptionsGenerator.

func (ExportOptionsGenerator) GenerateApplicationExportOptions

func (g ExportOptionsGenerator) GenerateApplicationExportOptions(
	exportedProduct ExportProduct,
	archiveInfo ArchiveInfo,
	exportMethod exportoptions.Method,
	codeSigningStyle exportoptions.SigningStyle,
	opts Opts,
) (exportoptions.ExportOptions, error)

GenerateApplicationExportOptions generates exportOptions for an application export.

type ExportProduct

type ExportProduct string

ExportProduct ...

const (
	// ExportProductApp ...
	ExportProductApp ExportProduct = "app"
	// ExportProductAppClip ...
	ExportProductAppClip ExportProduct = "app-clip"
)

type LocalCodesignIdentityProvider

type LocalCodesignIdentityProvider struct{}

LocalCodesignIdentityProvider ...

func (LocalCodesignIdentityProvider) ListCodesignIdentities

ListCodesignIdentities ...

type LocalProvisioningProfileProvider

type LocalProvisioningProfileProvider struct {
	// contains filtered or unexported fields
}

LocalProvisioningProfileProvider ...

func (LocalProvisioningProfileProvider) GetDefaultProvisioningProfile

GetDefaultProvisioningProfile ...

func (LocalProvisioningProfileProvider) ListProvisioningProfiles

ListProvisioningProfiles ...

type Opts

type Opts struct {
	ContainerEnvironment             string
	TeamID                           string
	UploadBitcode                    bool
	CompileBitcode                   bool
	ArchivedWithXcodeManagedProfiles bool
	TestFlightInternalTestingOnly    bool
	ManageVersionAndBuildNumber      bool
}

Opts contains options for the exportOptions generator.

type ProvisioningProfileProvider

type ProvisioningProfileProvider interface {
	ListProvisioningProfiles() ([]profileutil.ProvisioningProfileInfoModel, error)
	GetDefaultProvisioningProfile() (profileutil.ProvisioningProfileInfoModel, error)
}

ProvisioningProfileProvider can list profile infos.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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