I have a Remote package NestedPackage
which modularizes its code into another local package LocalPacakge
. This setup works fine when I use RemotePackage
from its Package.swift but it fails to integrate in another package or Xcode project as a dependency.
I understand what is happening but why is this configuration not supported? Why does SPM care that a remote package has its code in another directory (that is also a package but local)?
See the code for NestedPackage
here NestedPackage/Package.swift at master · shahzadmajeed/NestedPackage · GitHub
Here is the error when I use NestedPackage