Blog
Blog copied to clipboard
Support CocoaPods
ProjectName:DemoTestProject
Steps
-
cd DemoTestProject
-
pod spec create DemoTestProject
-
vim DemoTestProject.podspec
- 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'