Macro compilation issue in modularized project #3292
gyulavoros
started this conversation in
General
Replies: 1 comment 12 replies
-
Hi @gyulavoros, this is not an issue with the library per se, and instead most likely an issue with how your project is set up in Xcode. I am going to convert this to a discussion and perhaps someone can help you out over there. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I'm looking for guidance on how to integrate TCA with multiple feature modules.
Given that multiple framework targets depend on TCA, project compilation breaks with the following Xcode error:
Project setup:
xcodeproj
generated via XcodeGenThis setup used to work with older TCA versions (
1.11.2
and prior). I have limited knowledge of macro internals and having a hard time to pinpoint what the issue is.Checklist
main
branch of this package.Expected behavior
The project compiles.
Actual behavior
Compilation fails with:
Steps to reproduce
I attached a minimal example demonstrating the issue:
ModularizedMacroIssue.zip
The Composable Architecture version information
1.13.0
Destination operating system
iOS 17.5
Xcode version information
Xcode 15.4 (15F31d)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions