Carthage的使用

brew update
brew install carthage
cd projectdir
touch Cartfile
vim Cartfile

文件内容:

git "https://gitee.com/xxx/xxx.git"
Carthage update

git 项目,是framework项目,首先schema manager 里面设置shared

然后打一个tag,比如

git tag 1.0.0
git push --tags

在项目下执行 以下命令验证一下是否可行

carthage build --no-skip-current

你可能感兴趣的:(Carthage的使用)