Question or problem
I have a project with static library targets. Some of them use macros.
When editing the generated project in Xcode, a ton of errors appear. Those errors are all related to fields generated by macros, which makes me think that macros simply do not work.
On the left panel, errors appear under the library target (with the icon). When I select the target scheme and build, it works fine. It makes me thing that only the Analyze phase on those static targets has issues with macros.
Expectation
Analyze phase displays the same errors as the build phase.
Context
- Tuist version: 4.40.0
Reproduction (mandatory for problems)
- Have a project with static lbraries
- Add a macro to it (any public macro is fine)
- Use the macro inside the static library
- Notice how errors appear in Xcode as if the macro was missing
- Notice how the project builds fine otherwise