Question or problem
After migrating Firebase from Carthage to Swift Package Manager (SPM) and updating its version, I encountered an issue where Build Documentation
fails due to missing FirebaseCore headers:
This appears to be similar to the issue reported in Tuist Issue #6637, where the build documentation fails when the app target has a Firebase dependency.
Expectation
Build Documentation
should successfully generate documentation without missing headers.
Actual Behavior:
- The documentation build process fails because
FIRApp.h
cannot be found inFirebaseCore
. - However, the app can be compiled and archived successfully.
Context
- Tuist version: 4.39.1
- Xcode version: 16.2
- Firebase version: 11.8.1
- App: DBFFM
- App version: 3.94.0
I encountered this issue after migrating Firebase dependencies from Carthage to SPM. While the app itself builds and runs correctly, Build Documentation
fails due to missing headers in FirebaseCore.
Reproduction (mandatory for problems)
You can see the detailed error when you build documentation via Xcode: Product -> Build Documentation
.