Blog icon indicating copy to clipboard operation
Blog copied to clipboard

Support CocoaPods

Open dabing1022 opened this issue 8 years ago • 0 comments

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 [email protected] 'write a name here' --description='write descrption here'

dabing1022 avatar Jul 18 '16 02:07 dabing1022