Swift packages created by Xcode (File > New > Swift Package) show up in the root of the project or the workspace. I have a number of packages under development in my project, so after creating a few swift packages, I end up with a workspace root that looks like this
Root(Workspace)
- SwiftPackage1
- SwiftPackage2
...
- SwiftPackage18
- Project1
- Project2
I would like to be able to store all my swift packages in a location that doesn't pollute the root of the workspace, something like this:
Root(Workspace)
- Libs // Collapsable!
- SwiftPackage1
- SwiftPackage2
...
- SwiftPackage18
- Project1
- Project2
However, after moving the package folder to another location (drag & dropping in Xcode), the folder is copied to the new location, but it's a plain folder - and the original package is still under the root.
Is there a way to move Swift Package away from the root to keep the workspace organized?


