brew update
brew install carthage
cd projectdir
touch Cartfile
vim Cartfile
文件內(nèi)容:
git "https://gitee.com/xxx/xxx.git"
Carthage update
git 項目,是framework項目,首先schema manager 里面設置shared
然后打一個tag,比如
git tag 1.0.0
git push --tags
在項目下執(zhí)行 以下命令驗證一下是否可行
carthage build --no-skip-current