Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple targets conflict cmark-gfm #507

Open
27comar opened this issue Jul 31, 2024 · 2 comments
Open

Multiple targets conflict cmark-gfm #507

27comar opened this issue Jul 31, 2024 · 2 comments

Comments

@27comar
Copy link

27comar commented Jul 31, 2024

Hello, we want to upgrade this package to the latest version, but it seems that you added a new dependency that is causing a conflict with one other package that we use (swift-markdown-ui).

This is the error we get:

multiple targets named 'cmark-gfm' in: 'swift-cmark', 'swift-markdown-ui'; consider using the moduleAliases parameter in manifest to provide unique names.

Do you think there would be any way to avoid that conflict on your side ? I checked the issues on swift-markdown-ui package and it seems they can't use the new apple swift-markdown package because of versioning.

Because of that, we are still using version 1.10.3, but it would be nice to be able to get the latest features :)

@MatyasKriz
Copy link
Collaborator

Hey, @27comar, do you know which added dependency causes the issue? I'm pretty sure I've only added libraries that are required for correct functioning of the Cuckoonator.

@27comar
Copy link
Author

27comar commented Sep 17, 2024

Hey @MatyasKriz , I'm not sure but I think it might be swift-cmark, I don't know if you added that one manually. I think swift-cmark is having a dependency to cmark-gfm, which then causes issues when we use swift-markdown-ui, since it also has a dependency to it. Maybe you need it for the Cuckoonator ? But I'm wondering if the newer swift-markdown could be used instead 🤨
Sorry if maybe the issue is not there and I'm wrong on my assumptions !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants