Structure
CertificateManager
Manages code signing certificates — syncing from encrypted storage and creating new certificates via the App Store Connect API.
struct CertificateManagerUsage
let manager = CertificateManager()
try await manager.sync(
gitUrl: "[email protected]:myteam/certs.git",
profileType: "appstore",
ciMode: true,
context: context
)Topics
Initializers
init()Creates a
CertificateManager.
Instance Methods
func createCertificate(certificateType: String, context: ActionContext) async throws -> CertificateInfoCreate a new distribution certificate via the App Store Connect API.
func sync(gitUrl: String, profileType: String, ciMode: Bool, context: ActionContext) async throwsSync certificates and provisioning profiles from the encrypted storage repository.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype