My Cartfile has many libraries. When I do carthage update
it goes through all the libraries. That can take very long time.
Is there a way to update just a single library with carthage? Something like this? (this will not work)
carthage update "evgenyneu/moa"
If you've modified your Cartfile, or you want to update to the newest versions of each framework (subject to the requirements you've specified), simply run the carthage update command again. If you only want to update one, or specific, dependencies, pass them as a space-separated list to the update command.
Cartfile. resolved: This file serves as a companion to the Cartfile. It defines exactly which versions of your dependencies Carthage selected for installation. It's strongly recommended to commit this file to your version control repository.
From 0.12 version build
, checkout
, and update
take an optional space separated list of dependencies
For a Cartfile like the following
github "Alamofire/Alamofire" github "ReactiveX/RxSwift"
You could choose to update one dependency
carthage update Alamofire
or multiple dependencies
carthage update Alamofire RxSwift
If you need to add flags, add them last:
carthage update Alamofire --platform iOS
Carthage supports updating single dependencies now.If you have something like this in your Cartfile:
github "bitstadium/HockeySDK-iOS"
Then you can update only this one dependency by running
carthage update HockeySDK-iOS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With