mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
Place productName override behind productNameFromSettings
This commit is contained in:
parent
d1382f18e8
commit
52f8206325
@ -189,7 +189,7 @@ extension Target {
|
||||
settings["PRODUCT_NAME"] = targetName
|
||||
}
|
||||
}
|
||||
platformTarget["productName"] = newProductName ?? targetName
|
||||
platformTarget["productName"] = ((platformTarget["productNameFromSettings"] as? Bool == true) ? newProductName : nil) ?? targetName
|
||||
platformTarget["settings"] = settings
|
||||
if let deploymentTargets = target["deploymentTarget"] as? [String: Any] {
|
||||
platformTarget["deploymentTarget"] = deploymentTargets[platform]
|
||||
|
Loading…
Reference in New Issue
Block a user