1、创建仓库大黄页
2、pod repo add PersonalSpec https://github.com/jiangyanshuang/PersonalSpec.git
3、pod lib create PersonalMathToolLib
4、创建仓库存代码
4、git remote add origin https://github.com/jiangyanshuang/PersonalMathToolLib.git
5、git branch -M main
6、git push -u origin main
7、git tag 0.0.1
8、git push --tags
8、pod lib lint
9、pod spec lint
10、pod repo push PersonalSpec PersonalMathToolLib.podspec
常用命令
git status
git add .
git commit -m
git push
git branch
git remote
pod repo
1、Cocoapods 版本更新到1.9.3 之后,pod search还是无法搜索到的问题
2、删除自己的私有仓库(pod repo remove ***),
3、重新添加到本机中 pod repo add “仓库名” ****.git (仓库的远程地址)
4、删除搜索索引,rm ~/Library/Caches/CocoaPods/search_index.json
5、重新pod search ,此时终于出现了目标,也不枉折腾了这一两天.
————————————————
版权声明:本文为CSDN博主「FreshManCode」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/freshmancode/article/details/109079008
.gitattributes文件内容如下:
*.framework filter=lfs diff=lfs merge=lfs -text
Pods/TXLiteAVSDK_Professional/** filter=lfs diff=lfs merge=lfs -text
TXLiteAVSDK_Professional/** filter=lfs diff=lfs merge=lfs -text
ios最新版/Pods/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional/TXLiteAVSDK_Professional.framework/TXLiteAVSDK_Professional filter=lfs diff=lfs merge=lfs -text
Gitee报错Message: LFS only supported repository in paid enterprise.: exit status 128
$ rm .git/hooks/pre-push
$ git push -u origin "master"
网友评论