Downloading Libraries
|
bootstrap
|
|
update
|
Build
|
build This builds the frameworks. You might want to use that with --no-use-binaries. This may take time. |
Using Parameters (Flags)
|
--no-skip-current This ensures that carthage doesn't skip over anything and builds the frameworks. You might want to use that with |
|
--platform ios Build for iPhone platform. |
|
--platform macos Build for Mac desktop platform. |
|
--platform all Build for all platforms. |
|
--use-submodules Download the dependencies as submodules. If you use this --flag, this makes the dependencies available as Git submodules. This allows you to make changes in the dependencies, and commit and push those changes upstream. |
|
--no-use-binaries Use this flag to ensure all the workspace dependencies get checked out. Otherwise carthage will default to the binary framework releases. |
|
--no-build This is a real time saver. You can download the dependencies but not build the |
|
update [name of library] Instead of downloading and re-building all the dependencies, you can just specify which dependency to build. |
Troubleshooting
|
verbose Spell out everything that is happening. |
Dependency Origin vs. Version
|
Dependency Origin Checkout a dependency from |
|
Compatible with version X.X.X |
|
At least version X.X.X |
|
Exactly version X.X.X |
Notes
- Based on Carthage cheatsheet by Chris Mendez
- Converted by Malte Bünz