File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
utils/swift-xcodegen/Sources Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -558,6 +558,13 @@ fileprivate final class ProjectGenerator {
558
558
buildSettings. common. DEFINES_MODULE = " YES "
559
559
}
560
560
561
+ // Disable the Obj-C bridging header; we don't currently use this, and
562
+ // even if we did, we'd probably want to use the one in the Ninja build
563
+ // folder.
564
+ // This also works around a compiler crash
565
+ // (https://github.com/swiftlang/swift/issues/78190).
566
+ buildSettings. common. SWIFT_OBJC_INTERFACE_HEADER_NAME = " "
567
+
561
568
if let last = buildArgs. takeFlagGroup ( . O, . Onone) {
562
569
buildSettings. common. SWIFT_OPTIMIZATION_LEVEL = last. printed
563
570
}
Original file line number Diff line number Diff line change @@ -441,6 +441,7 @@ public struct Xcode {
441
441
public var SWIFT_FORCE_DYNAMIC_LINK_STDLIB : String ?
442
442
public var SWIFT_INCLUDE_PATHS : [ String ] ?
443
443
public var SWIFT_MODULE_ALIASES : [ String : String ] ?
444
+ public var SWIFT_OBJC_INTERFACE_HEADER_NAME : String ?
444
445
public var SWIFT_OPTIMIZATION_LEVEL : String ?
445
446
public var SWIFT_VERSION : String ?
446
447
public var TARGET_NAME : String ?
You can’t perform that action at this time.
0 commit comments