How to add a swift package created inside another swift package as dependency?
I have created a new package (child package) in another package (parent package) and added child package into a group/folder inside parent package directory. I need to add this child package as a dependency in my parent package and also it should be available for other projects wherever we add parent package as a dependency. Can someone suggest the process on how to achieve this or please share the package.swift of parent package. I tried by adding child package into parent package’s package.swift file under dependencies as .package(path: "../Packages/PackageName")
, but I’m always getting “No such module …” on import statement in parent package.