Charts Pod not downgrading

一个人想着一个人 提交于 2019-12-10 22:47:13

问题


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/questions/49767947/charts-pod-not-downgrading

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!