Carthage的使用

2018-09-19  本文已影响11人  学无止境吧
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
上一篇 下一篇

猜你喜欢

热点阅读