Search code examples
cocoapods

how to require a minimum version of cocoapods?


Lately I've been using Xcode 8 Beta, and discovered that Cocoapods 1.1.beta.1 is necessary for what I need.

Some of my colleagues are on Cocoapods 1.0 and Cocoapods 1.0.1.

What I'd like to do is add a directive to the podfile, that requires that 1.1.beta.1 (at the minimum) should be used. If it's a lesser version of cocoapods, then "pod install" or "pod update" should fail.

I haven't seen any indication of this in the docs. But if it's there, that would be great.


Solution

  • There is an cocoapods_version field now.