美文网首页
IOS Cocoapods 命令大全

IOS Cocoapods 命令大全

作者: 费城的二鹏 | 来源:发表于2019-05-23 08:25 被阅读0次

1. 上传Base包

pod spec lint IBase.podspec --allow-warnings
pod repo push Specs IBase.podspec --allow-warnings
pod repo push MySpecs IBase.podspec --allow-warnings

pod spec lint DLSlideView.podspec --allow-warnings
pod repo push Specs DLSlideView.podspec --allow-warnings

pod spec lint ICore.podspec
pod repo push Specs ICore.podspec

pod spec lint IWebView.podspec --allow-warnings
pod repo push Specs IWebView.podspec --allow-warnings

pod lib lint
pod spec lint xg-push-ios.podspec
pod trunk push xg-push-ios.podspec

pod lib lint
pod spec lint TencentOpenAPI.podspec
pod trunk push TencentOpenAPI.podspec

2. 更新项目引用

pod update --no-repo-update

3. 推送tag

git tag "0.0.x"
git push --tag

-- delete
git tag -d [tagName] 
git push origin --delete tag <tagname>

忽略文件

git rm --cached
git rm --cached -r .idea

相关文章

网友评论

      本文标题:IOS Cocoapods 命令大全

      本文链接:https://www.haomeiwen.com/subject/ovmmzqtx.html