codesignasset

package
v2.0.0-alpha.44 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 9 Imported by: 6

Documentation

Overview

Package codesignasset implements a autocodesign.AssetWriter which writes certificates, profiles to the keychain and filesystem.

Index

Constants

View Source
const (
	// ProfileIOSExtension is the iOS provisioning profile extension
	ProfileIOSExtension = ".mobileprovision"
	// ProfileMacExtension is the macOS provisioning profile extension
	ProfileMacExtension = ".provisionprofile"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

Writer ...

func NewWriter

func NewWriter(keychain keychain.Keychain) Writer

NewWriter ...

func (Writer) InstallCertificate

func (w Writer) InstallCertificate(certificate certificateutil.CertificateInfoModel) error

InstallCertificate installs the certificate to the Keychain

func (Writer) InstallProfile

func (w Writer) InstallProfile(profile autocodesign.Profile) error

InstallProfile writes the provided profile under the `$HOME/Library/MobileDevice/Provisioning Profiles` directory. Xcode uses profiles located in that directory. The file extension depends on the profile's platform `IOS` => `.mobileprovision`, `MAC_OS` => `.provisionprofile`

func (Writer) Write

func (w Writer) Write(codesignAssetsByDistributionType map[autocodesign.DistributionType]autocodesign.AppCodesignAssets) error

Write ...

Jump to

Keyboard shortcuts

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