Skip to content

Commit 77c7a24

Browse files
authored
Add missing kind values to TargetStartedInfo (#2849)
When I use: `swift build --build-system xcode -v` I get: error: failed parsing XCBuild output: unexpected JSON message: : dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "type", intValue: nil)], debugDescription: "Cannot initialize Kind from invalid String value Package Product", underlyingError: nil))
1 parent 6f469cf commit 77c7a24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/XCBuildSupport/XCBuildOutputParser.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public enum XCBuildMessage {
4646
public struct TargetStartedInfo {
4747
public enum Kind: String {
4848
case native = "Native"
49+
case aggregate = "Aggregate"
50+
case external = "External"
51+
case packageProduct = "Package Product"
4952
}
5053

5154
public let targetID: Int

0 commit comments

Comments
 (0)