一、规则 '~> 0.1.2' <==> [0.1.2, 0.2) '~> 0.1' <==> [0.1, 1.0) '~> 0' <==> 大于 0,等于没有此约束 二、参考 CocoaPods Guides - The Podfile 语义化版本 2.0.0 CocoaPods and the Case of the Squiggly Arrow (Route 85) Ruby's Pessimistic Operator (完)