Question or problem
Hello! I’m encountering an error when running tuist generate for my project. The error is related to a framework in my application, specifically a header file that Tuist is trying to add to a build phase that hasn’t been added to the project. Here’s the error output :
✖ Error
Trying to add a file at path /Users/username/project/MyApp/Library/SomeLibrary/SomeFramework.framework/Headers/SomeFramework/SomeHeader.h to a build phase that hasn't been added to the project.
Sorry this didn’t work. Here’s what to try next:
▸ If the error is actionable, address it
▸ If the error is not actionable, let's discuss it in the Troubleshooting & how to
▸ If you are very certain it's a bug, file an issue
▸ Check out the logs at /Users/username/.local/state/tuist/logs/LOG_ID.log
Expectation
I expected tuist generate to successfully create the Xcode workspace and project (MyApp.xcworkspace and MyApp.xcodeproj) without errors. Specifically, I expected Tuist to correctly integrate the framework (SomeFramework.framework) and its headers into the project structure, allowing me to build and run the project in Xcode.
Context
- Tuist version: 4.50.2
-Xcode version: 16.2