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

前端 未结 9 882

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:40

    Right now the answer is no... If your run carthage help update you'll see

    Update and rebuild the project's dependencies
    
    [--configuration Release]
        the Xcode configuration to build (ignored if --no-build option is present)
    
    [--platform all]
        the platform to build for (ignored if --no-build option is present)
    
    [--verbose]
        print xcodebuild output inline (ignored if --no-build option is present)
    
    [--no-build]
        skip the building of dependencies after updating
    
    [--use-ssh]
        use SSH for downloading GitHub repositories
    
    [--use-submodules]
        add dependencies as Git submodules
    
    [--no-use-binaries]
        check out dependency repositories even when prebuilt frameworks exist (ignored if --no-build option is present)
    
    [--color auto]
        whether to apply color and terminal formatting (one of ‘auto’, ‘always’, or ‘never’)
    
    [/path/to/your/app]
        the directory containing the Carthage project
    

    As you can see there is no mention to an option to specify only one dependency to update.

    You should open an issue on the project repo asking to support that.

提交回复
热议问题