I would like to create a lib, but I don't want my code to be open. I took a look at a few package manager tutorials and looks like there is no way to write a lib using this approach and hide the code, for example, there is some code that I don't have the rights to share with everyone.
So, the question is there a way to create a lib with help of Swift Package Manager https://swift.org/package-manager/ , but with a closed code source?