@@ -33,18 +33,21 @@ public struct ProjectBuilder {
3333 }
3434
3535 private let projectType : ProjectType
36+ private let platform : ProjectPlatform
3637 private let swiftInterfaceType : SwiftInterfaceType
3738 private let fileHandler : any FileHandling
3839 private let shell : any ShellHandling
3940 private let logger : ( any Logging ) ?
4041
4142 public init (
4243 projectType: ProjectType ,
44+ platform: ProjectPlatform ,
4345 swiftInterfaceType: SwiftInterfaceType ,
4446 logger: ( any Logging ) ? = nil
4547 ) {
4648 self . init (
4749 projectType: projectType,
50+ platform: platform,
4851 swiftInterfaceType: swiftInterfaceType,
4952 fileHandler: FileManager . default,
5053 shell: Shell ( ) ,
@@ -54,12 +57,14 @@ public struct ProjectBuilder {
5457
5558 init (
5659 projectType: ProjectType ,
60+ platform: ProjectPlatform ,
5761 swiftInterfaceType: SwiftInterfaceType ,
5862 fileHandler: any FileHandling = FileManager . default,
5963 shell: any ShellHandling = Shell ( ) ,
6064 logger: ( any Logging ) ?
6165 ) {
6266 self . projectType = projectType
67+ self . platform = platform
6368 self . swiftInterfaceType = swiftInterfaceType
6469 self . fileHandler = fileHandler
6570 self . shell = shell
@@ -99,6 +104,7 @@ public struct ProjectBuilder {
99104 let producer = SwiftInterfaceProducer (
100105 workingDirectoryPath: workingDirectoryPath,
101106 projectType: projectType,
107+ platform: platform,
102108 swiftInterfaceType: swiftInterfaceType,
103109 fileHandler: fileHandler,
104110 shell: shell,
0 commit comments