Replies: 1 comment 2 replies
-
Hi @kyzmitch, I am not able to build the project you linked to due to missing XCFrameworks: ![]() Ideally you could provide a smaller, simpler project that demonstrates the problem you are having. However, I can say that your mixture of static and dynamic libraries is most likely the problem. You probably need to create a single dynamic framework that depends on the static ComposableArchitecture library, and then depend on that dynamic framework in all of your targets (e.g. Cotton and CottonViewModels) rather than depending directly on ComposableArchitecture. Since I don't believe this is an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Steps:
Result: Xcode output with linker errors:
Project: pull request with affected branch kyzmitch/Cotton#93 where it uses TCA framework.
TCA version release: 1.17.1
Checklist
main
branch of this package.Expected behavior
Xcode project linking step should finish without errors
Actual behavior
I see the errors above about Undefined symbols related to this swift-share lib while using TCA
Reproducing project
To reproduce you need to checkout git branch from the following PR kyzmitch/Cotton#93
Sharing version information
No response
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions