mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
fix typo
This commit is contained in:
parent
69d8c8de44
commit
a6493cf3fd
@ -81,8 +81,8 @@ class SourceGenerator {
|
||||
_ = try getSourceFiles(targetType: .none, targetSource: TargetSource(path: path), path: fullPath)
|
||||
}
|
||||
|
||||
func generateSourceFile(targetType: PBXProductType, targetSource: TargetSource, path: Path, buildPhase: TargetSource.BuildPhase? = nil, fileRefenrece: PBXFileElement? = nil) -> SourceFile {
|
||||
let fileReference = fileRefenrece ?? fileReferencesByPath[path.string.lowercased()]!
|
||||
func generateSourceFile(targetType: PBXProductType, targetSource: TargetSource, path: Path, buildPhase: TargetSource.BuildPhase? = nil, fileReference: PBXFileElement? = nil) -> SourceFile {
|
||||
let fileReference = fileReference ?? fileReferencesByPath[path.string.lowercased()]!
|
||||
var settings: [String: Any] = [:]
|
||||
var attributes: [String] = targetSource.attributes
|
||||
var chosenBuildPhase: TargetSource.BuildPhase?
|
||||
@ -471,7 +471,7 @@ class SourceGenerator {
|
||||
let sourceFile = generateSourceFile(targetType: targetType,
|
||||
targetSource: targetSource,
|
||||
path: filePath,
|
||||
fileRefenrece: variantGroup)
|
||||
fileReference: variantGroup)
|
||||
allSourceFiles.append(sourceFile)
|
||||
}
|
||||
}
|
||||
@ -508,7 +508,7 @@ class SourceGenerator {
|
||||
let sourceFile = generateSourceFile(targetType: targetType,
|
||||
targetSource: targetSource,
|
||||
path: filePath,
|
||||
fileRefenrece: fileReference)
|
||||
fileReference: fileReference)
|
||||
allSourceFiles.append(sourceFile)
|
||||
groupChildren.append(fileReference)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user