No such module 'ComposableArchitecture' #948
-
Hello, thank you for your amazing library, recently I met this problem. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
If you add the lib via the Xcode packages interface, Xcode asks you which target you want to add the lib to (but only one). Juste go to your target settings and add a dependency to the lib. |
Beta Was this translation helpful? Give feedback.
-
Hi @danleechina! I'm going to convert this to a discussion, since it doesn't appear to be a bug with the library. For a visual, @AlexisQapa means you must add the library to the Mac target here (under Frameworks, Libraries, and Embedded Content): |
Beta Was this translation helpful? Give feedback.
-
That was it, however it didn’t fix it immediately. It took a few seconds for it to show up.
Sorry to have bothered you. I will add that to my comment on the issue in the repo.
Steve
On Mar 21, 2024, at 7:51 PM, Brandon Williams ***@***.***> wrote:
Hi @macinsmith <https://github.com/macinsmith>, are you sure you have enabled macros before building? I would click the red X icon in the top-right of the Xcode window to make sure.
And if you have definitely done that, then can you provide a minimal project that demonstrates the problem? That makes it easier to look into the issue.
—
Reply to this email directly, view it on GitHub <#948 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA3QNCU664TIXT3RR2KXCLTYZOMD7AVCNFSM6AAAAABFCB6YTSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNZSHE2DM>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
If you add the lib via the Xcode packages interface, Xcode asks you which target you want to add the lib to (but only one). Juste go to your target settings and add a dependency to the lib.