HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

carthage — A dependency management tool for Cocoa applications. More information: <https://github.com/Carthage/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
managementdependencycocoacommandclicarthagetoolfor
macos

Problem

How to use the carthage command: A dependency management tool for Cocoa applications. More information: <https://github.com/Carthage/Carthage>.

Solution

carthage — A dependency management tool for Cocoa applications. More information: <https://github.com/Carthage/Carthage>.

Download the latest version of all dependencies mentioned in Cartfile, and build them:
carthage update


Update dependencies, but only build for iOS:
carthage update --platform ios


Update dependencies, but don't build any of them:
carthage update --no-build


Download and rebuild the current version of dependencies (without updating them):
carthage bootstrap


Rebuild a specific dependency:
carthage build {{dependency}}

Code Snippets

Download the latest version of all dependencies mentioned in Cartfile, and build them

carthage update

Update dependencies, but only build for iOS

carthage update --platform ios

Update dependencies, but don't build any of them

carthage update --no-build

Download and rebuild the current version of dependencies (without updating them)

carthage bootstrap

Rebuild a specific dependency

carthage build {{dependency}}

Context

tldr-pages: osx/carthage

Revisions (0)

No revisions yet.