mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
28 lines
562 B
Swift
28 lines
562 B
Swift
//
|
|
// BuildSettings.swift
|
|
// XcodeGen
|
|
//
|
|
// Created by Yonas Kolb on 20/7/17.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import xcodeproj
|
|
import JSONUtilities
|
|
|
|
public struct BuildSettingGroup {
|
|
public var name: String
|
|
public var buildSettings: [String: String]
|
|
}
|
|
|
|
extension BuildSettingGroup: NamedJSONObjectConvertible {
|
|
|
|
public init(name: String, jsonDictionary: JSONDictionary) throws {
|
|
self.name = name
|
|
buildSettings = [:]
|
|
for (key, value) in jsonDictionary {
|
|
buildSettings[key] = String(describing: value)
|
|
}
|
|
}
|
|
}
|