Do Bridging Headers have different incremental build characteristics than normal ones?

I'm working with an alternate build system (Bazel) and want to make sure that my setup has parity in terms of incremental build time with xcodebuild. Right now, if the expanded contents of the bridging header given to Swift changes, then all Swift files that depend on it are recompiled. Similarly, if *-Swift.h changes, all the ObjC files that import it are recompiled. So, it works in a pretty standard and traditional way. Is this the same way it works with xcodebuild, or are there additional optimizations?

1 Like