Structure
XcodeBuildSummary
A concise, human-readable summary parsed from an xcodebuild invocation’s stdout.
struct XcodeBuildSummaryOverview
Unlike Gradle, xcodebuild has no cache-effectiveness line, so this summary is intentionally light: it surfaces the terminal ** … SUCCEEDED ** / ** … FAILED ** marker and the compiler warning/error counts, so they are always visible in CI even without --verbose.
Parsing is best-effort and never fails: resultLine is nil when no marker is found.
Topics
Initializers
init(resultLine: String?, warningCount: Int, errorCount: Int)Creates a summary.
Instance Properties
var errorCount: IntNumber of lines that look like compiler/linker errors (
: error:).var isEmpty: Booltruewhen no marker was found and there were no warnings or errors.var resultLine: String?The terminal xcodebuild marker line, e.g.
"** ARCHIVE SUCCEEDED **"or"** BUILD FAILED **".nilif no marker is present.var warningCount: IntNumber of lines that look like compiler/linker warnings (
: warning:).
Type Methods
static func parse(String) -> XcodeBuildSummaryParses a build summary from xcodebuild’s stdout.
Default Implementations
Relationships
Conforms To
Swift.EquatableSwift.SendableSwift.SendableMetatype