Shunan
Shunan

Reputation: 3264

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 enter image description here

Upvotes: 3

Views: 1837

Answers (1)

Sweeper
Sweeper

Reputation: 274650

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)

Upvotes: 12

Related Questions