Brightify / Cuckoo

Boilerplate-free mocking framework for Swift!
MIT License
1.67k stars 174 forks source link

Multiple targets conflict cmark-gfm #507

Open 27comar opened 3 months ago

27comar commented 3 months ago

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 commented 2 months ago

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 commented 2 months ago

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 !