In fact, why does CocoaPods not install the latest version of pods?

前端 未结 3 1994
-上瘾入骨i
-上瘾入骨i 2021-02-08 12:23

Note - actually apparently it does. Use the syntax Marcelo explains. Hope it helps someone!


With CocoaPods, you basically do this,

pod \'GTScrollNa         


        
3条回答
  •  梦如初夏
    2021-02-08 13:04

    Although I think it is very important to keep the project dependencies up-to-date I wouldn't recommend to auto update everything immediately.

    I'm using VersionEye to get notified about new versions of my software dependencies. Good projects are using semantic versioning, which is a big help for updating. Most new releases are patches or minor versions, which means you can update with low risk. Every couple months major versions are coming out. Here you have to be careful with updating. It's very likely that a new major version will break your build. That's why you have to check the changelogs and migration paths. And don't forget to run your tests after you updated ;-)

    If you want to learn about how to update right, check out the slides to continuous updating.

提交回复
热议问题