Skip to content

Commit fceac2b

Browse files
authored
Allow to modify build settings
1 parent 05a4536 commit fceac2b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Sources/PBXBuildStyle.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ public class PBXBuildStyle: PBXProjectItem {
1717
#if LAZY
1818
public lazy var buildSettings: [String: Any]? = dictionary(PBXKeys.buildSettings)
1919
#else
20-
public var buildSettings: [String: Any]? { dictionary(PBXKeys.buildSettings) }
20+
public var buildSettings: [String: Any]? {
21+
get {
22+
dictionary(PBXKeys.buildSettings)
23+
}
24+
set {
25+
self.fields[PBXKeys.buildSettings.rawValue] = newValue
26+
}
27+
}
2128
#endif
2229

2330
}

0 commit comments

Comments
 (0)