pod
2018-04-28 本文已影响26人
健健锅
cd desktop/pod
pod lib create ZJBasicTools
填写Pod的Metadata
s.summary = 'a Basic Tool for iOS'
s.source_files = 'ZJBasicTools/Classes/**/*.{h,m}'
pod lib lint ZJBasicTools.podspec //bendi验证
git add .
git commit -m ZJBasicTools
git pull --rebase origin master
git remote add origin giturl
git push origin master
pod spec lint ZJBasicTools.podspec //验证
git tag 0.1.0
example
git push origin 0.1.0
cd
//从example路径 切换回 ZJBasicTools
pod trunk push ZJBasicTools.podspec
- ERROR | [iOS] file patterns: The `source_files` pattern did not match any file.
https://www.jianshu.com/p/41611b14942b
验证时遇到的错误
https://blog.csdn.net/Asia_ZhangQQ/article/details/71195205
https://blog.csdn.net/gaozhenweigzw/article/details/47320861