Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save flashlib/d87ac82da84b240b8be8 to your computer and use it in GitHub Desktop.

Select an option

Save flashlib/d87ac82da84b240b8be8 to your computer and use it in GitHub Desktop.

Revisions

  1. @lexrus lexrus created this gist May 28, 2014.
    6 changes: 6 additions & 0 deletions WTF_YOU_MUST_UPGRADE_COCOAPODS.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    NEW_VER="0.33.1"
    POD_VER=`pod --version 2>/dev/null`|| POD_VER=`~/.rbenv/shims/pod --version 2>/dev/null`
    if [[ "$POD_VER" != *$NEW_VER ]]; then
    echo "error: WTF! You MUST upgrade cocoapods!!!"
    exit 1
    fi