mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-11-10 06:14:38 +03:00
fixed build phase of none
not being applied to folders
This commit is contained in:
parent
92d2e21d93
commit
fd3c903595
@ -422,8 +422,15 @@ class SourceGenerator {
|
||||
if !createIntermediateGroups {
|
||||
rootGroups.insert(fileReference)
|
||||
}
|
||||
|
||||
let buildPhase: BuildPhase?
|
||||
if let targetBuildPhase = targetSource.buildPhase {
|
||||
buildPhase = targetBuildPhase.buildPhase
|
||||
} else {
|
||||
buildPhase = .resources
|
||||
}
|
||||
|
||||
let sourceFile = generateSourceFile(targetSource: targetSource, path: folderPath, buildPhase: targetSource.buildPhase?.buildPhase ?? .resources)
|
||||
let sourceFile = generateSourceFile(targetSource: targetSource, path: folderPath, buildPhase: buildPhase)
|
||||
|
||||
sourceFiles.append(sourceFile)
|
||||
sourceReference = fileReference
|
||||
|
Loading…
Reference in New Issue
Block a user