# Xcode project-level DocC documentation build failing

**URL:** <https://forums.swift.org/t/xcode-project-level-docc-documentation-build-failing/77683>\
**Category:** Swift-DocC\
**Created:** [February 5, 2025, 9:47pm UTC](https://forums.swift.org/t/xcode-project-level-docc-documentation-build-failing/77683 "2025-02-05T21:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbonneville-nyt](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/pbonneville-nyt/32/24414_2.png) [@pbonneville-nyt](https://forums.swift.org/u/pbonneville-nyt)\
**Post date:** [February 5, 2025, 9:47pm UTC](https://forums.swift.org/t/xcode-project-level-docc-documentation-build-failing/77683/1 "2025-02-05T21:47:58Z")

</div>

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 \<\>):

```swift
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?
