I have Xcode workspace which has Target_A and Target_B. I need to add THE SAME package to each target. The Package has xcframework "ABC.xcframework".
Target_A gets package url to git_repo_A which has Package.swift in it's root. Target_B gets package url to git_repo_A which has Package.swift in it's root.
After adding to target the package in the Xcode UI, I get 2 errors:
multiple products named 'ABC' in: 'git_repo_A', 'git_repo_B'
multiple targets named 'ABC' in: 'git_repo_A', 'git_repo_B'
It seems Xcode want dev to use only one instance of the package, but I need to add it in each target separately without creating any dependency between the targets.
Anyone has an idea how to solve this?