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