Host in-house private frameworks with CocoaPods

When you have frameworks which you need to share between iOS developers inside a company without going public you can do it with a private CocoaPods repository. In this blog post, I’m going to show you how to do so step by step.

You should have a CocoaPods installed otherwise install it:

  1. Create private repository on your company’s Github, Bitbucket or Gitlab:

2. Provide access for all your iOS team members.

3. Add your private specs:

Note : It will be add to the pass ~/.cocoapods/repos

4. When you have your pod ready, push your CocoaPod specs to remote:


5. When you need to use your in-house pod, just add your private podspecs source and desire pod to Podfile:

Software Engineer with a decade of experience in software engineering —

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store