File tree 1 file changed +3
-3
lines changed
Sources/SwiftBuildSupport
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ struct PackagePIFProjectBuilder {
278
278
// CoreData files should also be in the actual target because they
279
279
// can end up generating code during the build.
280
280
// The build system will only perform codegen tasks for the main target in this case.
281
- let isCoreDataFile = [ SWBProjectModel . SwiftBuildFileType. xcdatamodeld, . xcdatamodel]
281
+ let isCoreDataFile = [ SwiftBuild . SwiftBuildFileType. xcdatamodeld, . xcdatamodel]
282
282
. contains { $0. fileTypes. contains ( resourcePath. pathExtension) }
283
283
284
284
if isCoreDataFile {
@@ -289,7 +289,7 @@ struct PackagePIFProjectBuilder {
289
289
}
290
290
291
291
// Core ML files need to be included in the source module as well, because there is code generation.
292
- let coreMLFileTypes : [ SWBProjectModel . SwiftBuildFileType ] = [ . mlmodel, . mlpackage]
292
+ let coreMLFileTypes : [ SwiftBuild . SwiftBuildFileType ] = [ . mlmodel, . mlpackage]
293
293
let isCoreMLFile = coreMLFileTypes. contains { $0. fileTypes. contains ( resourcePath. pathExtension) }
294
294
295
295
if isCoreMLFile {
@@ -300,7 +300,7 @@ struct PackagePIFProjectBuilder {
300
300
}
301
301
302
302
// Metal source code needs to be added to the source build phase.
303
- let isMetalFile = SWBProjectModel . SwiftBuildFileType. metal. fileTypes. contains ( resourcePath. pathExtension)
303
+ let isMetalFile = SwiftBuild . SwiftBuildFileType. metal. fileTypes. contains ( resourcePath. pathExtension)
304
304
305
305
if isMetalFile {
306
306
self . project [ keyPath: pifTargetForResourcesKP] . addSourceFile { id in
You can’t perform that action at this time.
0 commit comments