dabing1022 / Blog

BLOG MARKDOWN BAK AND SOME EXERCISES
http://dabing1022.github.io
86 stars 23 forks source link

Support CocoaPods #14

Open dabing1022 opened 8 years ago

dabing1022 commented 8 years ago

ProjectName:DemoTestProject

Steps

  1. cd DemoTestProject
  2. pod spec create DemoTestProject
  3. vim DemoTestProject.podspec
  4. modify podspec file
git add .
git commit -m `commit description`
git tag 0.0.1
git push --tags
git push origin master

6.pod spec lint DemoTestProject.podspec

if you have warnings and errors, please delete your tag and then retry.

git tag -d 0.0.1
git push origin :refs/tags/0.0.1

7.pod trunk push DemoTestProject.podspec

if this is your first time to commit to CocoaPods,please register first:

pod trunk register yourEmail@gmail.com 'write a name here' --description='write descrption here'