So I have two repositories and so two Package.swift files. Packages have targets. Targets have dependencies. Situation:
P1.T1 depends on P2.T2
P2.T1 depends on P1.T2
So on the target level, there is no cyclic dependency. However, Xcode still thinks there is a cyclic dependency and reports an 'error cyclic dependency declaration found: P2 -> P1 -> P2'. It looks like it just checks dependencies on the package level without checking them on the target level.