mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Localized
This commit is contained in:
@@ -452,13 +452,16 @@ class SourceGenerator {
|
||||
groupChildren.append(variantGroup)
|
||||
baseLocalisationVariantGroups.append(variantGroup)
|
||||
|
||||
let sourceFile = SourceFile(
|
||||
let fileReference = getFileReference(
|
||||
path: filePath,
|
||||
fileReference: variantGroup,
|
||||
buildFile: PBXBuildFile(file: variantGroup),
|
||||
buildPhase: .resources
|
||||
inPath: baseLocalisedDirectory,
|
||||
name: variantGroup.name ?? filePath.lastComponent
|
||||
)
|
||||
let sourceFile = generateSourceFile(targetType: targetType,
|
||||
targetSource: targetSource,
|
||||
path: filePath)
|
||||
allSourceFiles.append(sourceFile)
|
||||
groupChildren.append(fileReference)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user