Skip to content

Commit b788cb5

Browse files
committed
missed encoding a PBXObject
1 parent aa649c9 commit b788cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XcodeProject/Objects/References/XCVersionGroup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class XCVersionGroup: PBXGroup {
4646
public override func encode(to encoder: Encoder) throws {
4747
try super.encode(to: encoder)
4848
var container = encoder.container(keyedBy: CodingKeys.self)
49-
try container.encodeIfPresent(currentVersion?.plistID, forKey: .currentVersion)
49+
try container.encodeIfPresent(currentVersion, forKey: .currentVersion)
5050
try container.encodeIfPresent(versionGroupType, forKey: .versionGroupType)
5151
}
5252
}

0 commit comments

Comments
 (0)