With Xcode's upcoming support for SPM, I'm hoping to transition my and my organization's codebases to use Packages. The biggest complication I've had is lack of real support for anything non-OSS.
The only documentation/approach I've found is from Pulling private SPM repos in Xcode and the mentioned [IBM blogpost]*(https://developer.ibm.com/swift/2018/01/26/package-manager-private-ssh/) (and various reposts/stackoverflow of basically the same thing). That solution is probably possible to use but is far from user friendly, platform dependent, and not a generalized solution. Any new team member, build server, or client needing access has to go through a multi-step, manual process just to import a package.
Glancing around at few dependency managers it doesn't seem like there's a standard way of doing this well without some addition layer, so I'm guessing the problem is difficult to solve. It's also the reason I've found it simpler to deal with git-submodules rather than a "real" dependency management solution. With a (finally!) first party solution I think I can justify switching for public libraries, but I would really like to git rid of that submodule approach for iOS projects altogether.
So a few questions.
- Are there any other approaches or services being been used?
- Is there any official documentation on the issue?
- Are there any plans/work toward official support?