Skip to content

Commit

Permalink
[XCBuildSupport] Fix typo in Reference decoder code
Browse files Browse the repository at this point in the history
  • Loading branch information
aciidgh committed Apr 16, 2020
1 parent 75667bc commit e3d5889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XCBuildSupport/PIF.swift
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ public enum PIF {
} else if container.allKeys.contains(.targetReference) {
let targetGUIDString = try container.decode(GUID.self, forKey: .targetReference)
let targetGUID = String(targetGUIDString.dropLast("\(schemaVersion)".count + 1))
reference = .file(guid: targetGUID)
reference = .target(guid: targetGUID)
} else {
fatalError("Expected \(CodingKeys.fileReference) or \(CodingKeys.targetReference) in the keys")
}
Expand Down

0 comments on commit e3d5889

Please sign in to comment.