Giter Site home page Giter Site logo

podsupdater's Introduction

Pods Updater

ScreenShot: App Main Screen

Why this app?

I believe it should be up to the developer to determine the exact versions of dependencies used in their projects.

When adding Pods to the Podfile, most developers use the optimistic operator pod 'RxSwift', '~> 4.1.1' or even leave out the version information entirely pod 'RxSwift'. This is because no one wants to go through the hell of finding new versions of their dependencies and updating manually. This also means the Dependency manager(CocoaPods) will have to decide which version to install in your project. Granted, with the optimistic operator, CocoaPods would probably never install a version of the Pod with breaking changes as long as the framework's developer continues using semantic versioning. But then, you wouldn't even get to know about the breaking release at all.

Presently, the only way to check for updates in your Podfile is by running pod outdated in your project directory. This lists only the newest versions of your pods and you'd still have to copy the version numbers of Pods you wish to update into your Podfile. The problem with this is, say you're on version 3.x.x of a Pod, then one month later, there's been some newer 3.x.x and 4.x.x releases of the Pod. You check for updates using the command and it shows you version 4.x.x(the latest version), skipping other 3.x.x releases. If you are not ready to deal with breaking changes in your project at that time, you would still miss out on other newer 3.x.x releases just because you weren't informed about them.

This app helps you easily find all newer(or older) versions of your Pods and lets you update your Podfile with the desired version, hence giving the power of dependency management back to the developer.

Usage

Find releases for Pods in your Podfile

The app requires that your Podfile follows a specific pattern when declaring Pods pod 'PodName', 'ExactVersion' example: pod 'RxSwift', '4.1.1'

If this is already the case for your Podfile, click Select Podfile and choose the Find Versions option to proceed with finding releases for the Pods declared in your Podfile. You can choose to show only newer or all versions of your installed pods.

Make your podfile compatible with the app

If you are using any of the magic operators(~>, >, >=, <, <=) or don't even have the version information declared at all, the app can help you find the exact installed versions of your Pods using the Podfile.lock file in your project. You can then save the newly generated Podfile.

ScreenShot: Make Podfile Compatible

To perform this action, click Select Podfile and choose the Make Compatible option.

Installation

Download the app from the releases page.

OR

Clone the repository to your computer, build and run the Project in Xcode.

License

Available under the MIT license.

podsupdater's People

Contributors

kizitonwose avatar ss18 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.