Skip to content

Commit

Permalink
Fix some localized resources not being included into project groups
Browse files Browse the repository at this point in the history
  • Loading branch information
nivanchikov committed Oct 7, 2019
1 parent 2e31065 commit 18089e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XcodeGenKit/SourceGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class SourceGenerator {
for child in children {
// only add the children that aren't already in the cachedGroup
// Check equality by path and sourceTree because XcodeProj.PBXObject.== is very slow.
if !cachedGroupChildren.contains(where: { $0.path == child.path && $0.sourceTree == child.sourceTree }) {
if !cachedGroupChildren.contains(where: { $0.name == child.name && $0.path == child.path && $0.sourceTree == child.sourceTree }) {
cachedGroupChildren.append(child)
}
}
Expand Down

0 comments on commit 18089e3

Please sign in to comment.