How to update just one library from the Cartfile with Carthage?

前端 未结 9 969

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 s

9条回答
  •  误落风尘
    2021-01-30 10:47

    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
    

提交回复
热议问题