Search code examples
githubrepositorycocoapodsgitlabprivate

How can make my own cocoapods on GitLab instead of GitHub?


I wanna make private repository for my own cocoapod but Github needs payment plan for let me keep on.

So I wanna know can I do this via Gitlab?


Solution

  • You can follow the same process as the one described in "XCode + Gitlab + Cocoapods or How I modularised my iOS source code" by Jonathan Neumann.

    Jonathan is using GitLab.

    Create a specsrepo project within that group. This repository will host the podspecs that describe each of your modules. A podspec basically tells cocoapods what to install, and where to find it.
    Do the same for the main project and one of its modules. Let’s call the projects TopProject and Submodule1

    https://cdn-images-1.medium.com/max/1000/1*j7O4P25enETpZigu4jPe8Q.png