Charts Pod not downgrading
问题 I am using Xcode 8.3 and swift 3. In order to use charts library, I need to use Charts 3.0.2 but Cocoapods is always installing the latest library. I tried following commands - pod install pod update but none are working. Here is the screenshot 回答1: By trial and error, I figured out that removing the ~> thingy works, so now your line will look like: pod 'Charts', '3.0.2' And then you need a pod update , and this will show up: Installing Charts 3.0.2 (was 3.0.5) 来源: https://stackoverflow.com