We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad37c9 commit bb02e01Copy full SHA for bb02e01
Sources/XcodeGenKit/PBXVariantGroupGenerator.swift
@@ -77,6 +77,13 @@ class PBXVariantGroupGenerator: TargetSourceFilterable {
77
78
let localizeDirs: [Path] = children
79
.filter ({ $0.extension == "lproj" })
80
+ .reduce(into: [Path]()) { partialResult, path in
81
+ if path.lastComponentWithoutExtension == "Base" {
82
+ partialResult.append(path)
83
+ } else {
84
+ partialResult.insert(path, at: 0)
85
+ }
86
87
88
guard localizeDirs.count > 0 else {
89
return
0 commit comments