xcodeproj

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package xcodeproj ...

Deprecated: Use github.com/bitrise-io/go-xcode/xcodeproject package instead.

Index

Constants

View Source
const (
	// XCWorkspaceExt ...
	XCWorkspaceExt = ".xcworkspace"
	// XCodeProjExt ...
	XCodeProjExt = ".xcodeproj"
	// XCSchemeExt ...
	XCSchemeExt = ".xcscheme"
)

Extensions

Variables

This section is empty.

Functions

func GetBuildConfigSDKs

func GetBuildConfigSDKs(pbxprojPth string) ([]string, error)

GetBuildConfigSDKs ...

func IsXCWorkspace

func IsXCWorkspace(pth string) bool

IsXCWorkspace ...

func IsXCodeProj

func IsXCodeProj(pth string) bool

IsXCodeProj ...

func ResolveCodeSignInfo

func ResolveCodeSignInfo(projectOrWorkspacePth, scheme, user string) (map[string]CodeSignInfo, error)

ResolveCodeSignInfo ...

func SchemeFileContainsXCTestBuildAction

func SchemeFileContainsXCTestBuildAction(schemeFilePth string) (bool, error)

SchemeFileContainsXCTestBuildAction ...

func SchemeNameFromPath

func SchemeNameFromPath(schemePth string) string

SchemeNameFromPath ...

func WorkspaceProjectReferences

func WorkspaceProjectReferences(workspace string) ([]string, error)

WorkspaceProjectReferences ...

Types

type CodeSignInfo

type CodeSignInfo struct {
	CodeSignEntitlementsPath     string
	BundleIdentifier             string
	CodeSignIdentity             string
	ProvisioningProfileSpecifier string
	ProvisioningProfile          string
	DevelopmentTeam              string
}

CodeSignInfo ...

type PBXNativeTarget

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

PBXNativeTarget ...

type PBXTargetDependency

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

PBXTargetDependency ...

type ProjectModel

type ProjectModel struct {
	Pth           string
	Name          string
	SDKs          []string
	SharedSchemes []SchemeModel
	Targets       []TargetModel
}

ProjectModel ...

func NewProject

func NewProject(xcodeprojPth string) (ProjectModel, error)

NewProject ...

func (ProjectModel) ContainsSDK

func (p ProjectModel) ContainsSDK(sdk string) bool

ContainsSDK ...

type SchemeModel

type SchemeModel struct {
	Name                  string
	HasXCTest             bool
	BuildableReferenceIDs []string
}

SchemeModel ...

func ProjectSharedSchemes

func ProjectSharedSchemes(projectPth string) ([]SchemeModel, error)

ProjectSharedSchemes ...

func WorkspaceSharedSchemes

func WorkspaceSharedSchemes(workspacePth string) ([]SchemeModel, error)

WorkspaceSharedSchemes ...

type TargetMapping

type TargetMapping struct {
	Configuration  string              `json:"configuration"`
	ProjectTargets map[string][]string `json:"project_targets"`
}

TargetMapping ...

type TargetModel

type TargetModel struct {
	Name       string
	ID         string
	HasXCTest  bool
	HasAppClip bool
}

TargetModel ...

func ProjectTargets

func ProjectTargets(projectPth string) ([]TargetModel, error)

ProjectTargets ...

func WorkspaceTargets

func WorkspaceTargets(workspacePth string) ([]TargetModel, error)

WorkspaceTargets ...

type WorkspaceModel

type WorkspaceModel struct {
	Pth            string
	Name           string
	Projects       []ProjectModel
	IsPodWorkspace bool
}

WorkspaceModel ...

func NewWorkspace

func NewWorkspace(xcworkspacePth string, projectsToCheck ...string) (WorkspaceModel, error)

NewWorkspace ...

func (WorkspaceModel) GetSharedSchemes

func (w WorkspaceModel) GetSharedSchemes() []SchemeModel

GetSharedSchemes ...

func (WorkspaceModel) GetTargets

func (w WorkspaceModel) GetTargets() []TargetModel

GetTargets ...

Jump to

Keyboard shortcuts

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