Kolos65 / Mockable

A Swift macro driven auto-mocking library.
MIT License
251 stars 19 forks source link

Legacy IssueReporting collides with projects that rely on it. #86

Open briannadoubt opened 2 days ago

briannadoubt commented 2 days ago

This change makes it so that newer projects that also leverage swift-issue-reporting collide with the following error:


multiple similar targets 'IssueReporting', 'IssueReportingTestSupport', 'XCTestDynamicOverlay' appear in package 'swift-issue-reporting' and 'xctest-dynamic-overlay', this may indicate that the two packages are the same and can be de-duplicated by using mirrors. if they are not duplicate consider using the `moduleAliases` parameter in manifest to provide unique names

I would think the way to solve this would be to do what IssueReporting does and create a Package@swift-6.swift file with this reference in it, then fallback to this one if needed.

Originally posted by @briannadoubt in 84c4f7f

briannadoubt commented 2 days ago

Create a PR for this here. I don't have the permissions to connect this to the PR

briannadoubt commented 2 days ago

I deleted the PR because what I did didn't work