CocoaPods trunk is moving to be read-only. Read more on the blog, there are 8 months to go.

brake 1.1.2

brake 1.1.2

Maintained by fizz.



brake 1.1.2

制作Cocoapods

仅记录此项目过程

相关

官方教程

过程

参考地址

  • 代码提交到github平台
  • 创建.podspec
    pod spec create projectName
  • 编辑.podspec

参照本列配置

  • 项目打tag
   git tag "1.1.0" 
   git push --tags
  • 验证.podspec
    pod sepc lint
  • 注册 cocoapods trunk帐号

pod trunk register 邮箱 '用户名' --description='电脑描述'

  • 发布.podspec到cocoapods
    pod trunk push projectName.podspec

Error

  • Pod::DSLError

原因是路径错误 s.source_files = 'Classes/**/*'
修改路径重新打 tags