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?
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- Access BitBucket payload data in Jenkins pipeline
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
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 repositoryEnterprise git repository like
Atlassian-Stash(Bitbucket)
it also works with
ssh://
Or local project
UPDATE
Carthage has now added extra documentation on how the OGDL works in the Cartfile
Solutions to Carthage Development Framework
To code a framework in a way similar to developing using CocoaPods Development Pods, there are solutions ready to used with Carthage.
Solution 1 - The Local Path Way
This solution is quiet convenient than alternative solutions.
Step 1. Add local path into Cartfile
For example,
Add local path into Cartfile
Step 2. Update Carthage dependency
For example,
Update Carthage dependency using Cartfile
To debug with breakpoints or to develop a framework in main project, add developing framework project reference
$(DEVELOPING_FRAMEWORK).xcodeproj
into the main application, and build the main app in Xcode.Caution
Remove developing overhead (such as the changes in
$(MAIN_APP_NAME).xcodeproj/project.pbxproj
due to the addition of developing framework project reference) before committing the changes to remote repo.Solution 2 - The Symbolic Linking Way
Tested Environment