xcodebuild

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOptions

type BuildOptions struct {
	Project       string // Path to .xcodeproj
	Workspace     string // Path to .xcworkspace (mutually exclusive with Project)
	Scheme        string
	Configuration string // Debug, Release
	Destination   string // e.g., "platform=iOS Simulator,name=iPhone 15"
	DerivedData   string // Custom derived data path
}

type BuildResult

type BuildResult struct {
	Success  bool
	Duration time.Duration
	Output   string
	Errors   []string
	Warnings []string
}

func Build

func Build(ctx context.Context, opts BuildOptions) (*BuildResult, error)

Build runs xcodebuild build.

func Test

func Test(ctx context.Context, opts BuildOptions) (*BuildResult, error)

Test runs xcodebuild test.

Jump to

Keyboard shortcuts

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