Search code examples
githubcocoapodscarthage

Is it possible to fetch a private repository with cocoapods or carthage?


I'm trying to get an SDK from a private repository on Github. It's a company repository but I have an access to it. It works fine when I add a pack directly with a repository link. but when I try to fetch it with cocoapods or Carthage, it says repository not found. I guess it's because it's in a private mode. Is there any hope?


Solution

  • Yes. For CocoaPods, follow these instructions: https://guides.cocoapods.org/making/private-cocoapods.html