From b32fe96854551e16b035788ee68e01daec0de40d Mon Sep 17 00:00:00 2001 From: Brentley Jones Date: Thu, 19 Jul 2018 08:13:24 -0500 Subject: [PATCH] Parse xcodeVersion from yaml --- Sources/ProjectSpec/SpecOptions.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ProjectSpec/SpecOptions.swift b/Sources/ProjectSpec/SpecOptions.swift index 218534a1..f476575a 100644 --- a/Sources/ProjectSpec/SpecOptions.swift +++ b/Sources/ProjectSpec/SpecOptions.swift @@ -87,6 +87,7 @@ extension SpecOptions: JSONObjectConvertible { createIntermediateGroups = jsonDictionary.json(atKeyPath: "createIntermediateGroups") ?? false developmentLanguage = jsonDictionary.json(atKeyPath: "developmentLanguage") usesTabs = jsonDictionary.json(atKeyPath: "usesTabs") + xcodeVersion = jsonDictionary.json(atKeyPath: "xcodeVersion") indentWidth = (jsonDictionary.json(atKeyPath: "indentWidth") as Int?).flatMap(UInt.init) tabWidth = (jsonDictionary.json(atKeyPath: "tabWidth") as Int?).flatMap(UInt.init) deploymentTarget = jsonDictionary.json(atKeyPath: "deploymentTarget") ?? DeploymentTarget()