Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 901
Black Sheep Avatar asked Dec 08 '15 18:12

Black Sheep


People also ask

How do I install Carthage framework?

Double-click Carthage. pkg to run the installer. Click Continue, select a location to install to, click Continue again and finally click Install. Note: When you attempt to run the installer, you may see a message stating: “Carthage.

What does Carthage copy frameworks do?

Overview. carthage-copy-frameworks is an helper script that you can use to automatically copy every framework below Carthage/Build/iOS . This way you can avoid the official, error prone, process. As the name implies, this is meant to be used in iOS development, alongside Carthage.


1 Answers

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

like image 109
Black Sheep Avatar answered Oct 06 '22 22:10

Black Sheep