I’ve an iOS multi-repository app that makes use of cocoapods to sync a number of frameworks, I’m making an attempt emigrate to swift package deal supervisor whoever I am going through some difficulty whereas making an attempt to attach all dependencies, that is my structure:
My app is in a single repo and the remainder of the packages are in a unique repo, the package deal is a function module, that’s modularized internally to separate UI, Enterprise Logic and networking layer, every of them is a unique package deal, here’s a diagram that explains it higher:
Since MultiFrameWorkPackage has a dependency on different frameworks I must reference it regionally, nevertheless when I attempt to fetch MultiFrameWorkPackage remotely from MyApp.xcodeproj I get following error:
package deal ‘multiframeworks’ is required utilizing a revision-based
requirement and it is dependent upon native package deal ‘frameworka’, which isn’t
supported
Is there any workaround to attain this sort of structure with SPM?
Listed here are code examples, you’ll be able to even attempt operating it: