mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Add Version type
This commit is contained in:
1 parent
a1e46eb05a
commit
4a90d33951
8 files changed
+134
-32
No files matched your search
@@ -18,7 +18,7 @@ extension ProjectSpec {
|
||||
// apply custom platform version
|
||||
for platform in Platform.all {
|
||||
if let version = options.platformVersions.version(for: platform) {
|
||||
buildSettings[platform.versionBuildSetting] = version
|
||||
buildSettings[platform.versionBuildSetting] = version.platformVersion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ extension ProjectSpec {
|
||||
|
||||
// apply custom platform version
|
||||
if let version = target.platformVersion {
|
||||
buildSettings[target.platform.versionBuildSetting] = version
|
||||
buildSettings[target.platform.versionBuildSetting] = version.platformVersion
|
||||
}
|
||||
|
||||
// Prevent setting presets from overrwriting settings in target xcconfig files
|
||||
|
||||
Reference in new issue
Block a user