File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public struct Project {
2222
2323 public let path : Path
2424 public let swiftInterfacePath : Path
25+ public let module : String
2526
2627 public init ( rawPath: String , relativePath: Path ) throws {
2728 let frameworkRelativePath = Path ( rawPath, relativeTo: relativePath)
@@ -46,6 +47,7 @@ public struct Project {
4647 }
4748 self . path = frameworkRelativePath
4849 self . swiftInterfacePath = interfacePath
50+ self . module = moduleName
4951 }
5052 }
5153
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public class Sourcery {
132132 }
133133 for framework in target. xcframeworks {
134134 paths. append ( framework. swiftInterfacePath)
135- modules. append ( target . module)
135+ modules. append ( framework . module)
136136 }
137137 }
138138 }
You can’t perform that action at this time.
0 commit comments