2

我有一个依赖Cartfile,我想以不同的方式对待。是否可以使用一个依赖项的选项来运行 Carthage,但对于另一个依赖项却不同?

例如,这是我的Cartfile

github "ninjaprox/NVActivityIndicatorView"
github "nickoneill/PermissionScope"
github "Skyscanner/SkyFloatingLabelTextField"

我可以carthage update --platform iOSNVActivityIndicatorViewand运行SkyFloatingLabelTextField,但使用carthage update --no-build --platform iOSforPermissionScope吗?如果可以从我的 Cartfile 中排除依赖项,而是直接从命令行运行它,那又如何呢?

4

0 回答 0