File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1451,7 +1451,7 @@ public final class MixedTargetBuildDescription {
1451
1451
// needed and will later use a VFS overlay to make the generated header
1452
1452
// appear in the proper location so the bridging header import in the
1453
1453
// generated interop header can be resolved during the build.
1454
- var generatedUmbrellaHeaderPath : AbsolutePath ? = nil
1454
+ let generatedUmbrellaHeaderPath : AbsolutePath ?
1455
1455
let relativeUmbrellaHeaderPath =
1456
1456
RelativePath ( " \( mixedTarget. c99name) / \( mixedTarget. c99name) .h " )
1457
1457
let potentialUmbrellaHeaderPath =
@@ -1481,6 +1481,8 @@ public final class MixedTargetBuildDescription {
1481
1481
generatedUmbrellaHeaderPath!,
1482
1482
bytes: stream. bytes
1483
1483
)
1484
+ } else {
1485
+ generatedUmbrellaHeaderPath = nil
1484
1486
}
1485
1487
1486
1488
// MARK: Generate products to be used by client of the target.
You can’t perform that action at this time.
0 commit comments