We have a DocC documentation catalog at the Xcode project level (not a Swift Package) that has stopped compiling due to what appears to be an issue with the compilation of a Swift Package dependency.
Here's the error (replacing some of the identifiable info with <>):
fatal error: module map file '/Users/<username>/Library/Developer/Xcode/DerivedData/<app name>-azxxncmkmetagyfdpghktyffncvx/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/SwiftSyntaxMacros.modulemap' not found
fatal error: module map file '/Users/<username>/Library/Developer/Xcode/DerivedData/<app name>-azxxncmkmetagyfdpghktyffncvx/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/SwiftSyntaxMacros.modulemap' not found
... <repeats that same message dozens of times>
fatal error: module map file '/Users/<username>/Library/Developer/Xcode/DerivedData/<app name>-azxxncmkmetagyfdpghktyffncvx/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/SwiftSyntaxMacros.modulemap' not found
fatal error: module map file '/Users/<username>/Library/Developer/Xcode/DerivedData/<app name>-azxxncmkmetagyfdpghktyffncvx/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/SwiftSyntaxMacros.modulemap' not found
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-ios17.0-simulator
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: Error generating preprocessed source(s).
Is there a way to skip building documentation for Swift Package dependencies, which is a guess at where the issue lies?