How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

12,673

So I finally found out how to setup Carthage with a Atlassian-Bitbucket

on the Cartfile i Just need to define the dependency origin which is the git repository

Enterprise git repository like Atlassian-Stash(Bitbucket)

git "https://stashRepo" 

it also works with ssh://

Or local project

git "file:///directory/to/project" "branch"  

UPDATE

Carthage has now added extra documentation on how the OGDL works in the Cartfile

Share:
12,673
Black Sheep
Author by

Black Sheep

Updated on June 06, 2022

Comments

  • Black Sheep
    Black Sheep almost 2 years

    I was wondering if there is something like private pods in Carthage, I have a couple of frameworks and I'm currently using git submodules, I started using Carthage for a new project and is pretty nice but so far I just configured it to manage third party Frameworks dependencies. I've checked the carthage documentation but is not that clear on how to set it up. Does Carthage work only with Github repos? Can it work with Atlassian-Stash(now Bitbucket)? If so how?

  • harshit2811
    harshit2811 over 7 years
    git "file:///directory/to/project" "branch"
  • Mike Taverne
    Mike Taverne over 4 years
    You must commit to your local branch as well. Uncommitted changes will not be built.