project

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package project discovers Xcode projects and reads their schemes and build settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Path string
	Name string
	Type Type
}

func Discover

func Discover(root string) ([]Project, error)

Discover finds Xcode projects and workspaces under root, skipping hidden and build directories.

func Open

func Open(path string) (*Project, error)

Open parses a project or workspace at the given path.

func (*Project) BuildSettings

func (p *Project) BuildSettings(ctx context.Context, scheme, config string) (map[string]string, error)

BuildSettings returns build settings as key-value pairs.

func (*Project) Schemes

func (p *Project) Schemes(ctx context.Context) ([]string, error)

Schemes lists the schemes reported by xcodebuild.

type Type

type Type int
const (
	TypeProject Type = iota
	TypeWorkspace
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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