Skip to content

Structure

VersionBumper

Reads and writes CFBundleVersion and CFBundleShortVersionString using plutil and xcrun agvtool.

struct VersionBumper

Usage

let bumper = VersionBumper(context: context)
let result = try await bumper.bump(options: .init(bump: .build))
print("New build: \(result.buildNumber)")

Topics

Structures

  • struct Preview

    A read-only snapshot of what bump(options:) would produce.

Initializers

Instance Methods

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype