• About
  • Portfolio
  • Blog
  • Contact
Menu

Sebastian Dobrincu

Co-Founder of Revocalize AI. Tech entrepreneur, investor and artist.
  • About
  • Portfolio
  • Blog
  • Contact
cocoapods.png

How to Update your CocoaPods Library Version

May 28, 2016

If you are anything like me, you often forget how to publish a new version of your Cocoapods library. Although it's a really easy process, you can easily forget it if you don't do it in a while. 

So here's a quick cheat sheet for doing that: 

1. Update the pod version in your Podspec file. Make sure this matches the GitHub tag version you will create next. 

 

2. Push all the new files to your master branch.

 

3. Create a tag for your new Pod version and push it:

git tag *version* 
git push origin --tags

4. Check if your Pod passes verification using: 

pod spec lint *your_pod_name*.podspec 

5. Push your new Pod version using trunk:

pod trunk push *your_pod_name*.podspec

 

Hope I saved you a few minutes of searching :)

In Mobile Development Tags ios, cocoapods, git, trunk, update, version, pod

Fresh Tweets


Featured
cocoapods.png
May 28, 2016
How to Update your CocoaPods Library Version
May 28, 2016
Read More →
May 28, 2016
How to upload images to Rails API using S3
May 17, 2015
How to upload images to Rails API using S3
May 17, 2015
Read More →
May 17, 2015