pod无法很好地指定版本

时间:2016-06-08 08:11:23

标签: ios react-native cocoapods

我关注智能react-native-ios-charts并按pod install

更新为新版本

我在下面指定版本

use_frameworks!

target 'MyApp' do
  pod 'SwiftyJSON', '2.3.1'
  pod 'Charts', '2.2.3'
end

但版本总是不正确,如输出

Analyzing dependencies
Downloading dependencies
Installing Charts (2.2.4)
Installing SwiftyJSON (2.3.2)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `MyApp.xcworkspace` for this project from now on.

Sending stats

Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.

我该如何解决?

谢谢你的时间。

1 个答案:

答案 0 :(得分:0)

那很奇怪。正如文档所说Specifying pod versions一样,Podfile正在冻结图表和SwiftJSON窗格。

我刚刚使用此Podfile react-native-ios-charts在ChartsExplorer中对此进行了测试,并且没有任何问题。

这是日志输出。

Analyzing dependencies
Downloading dependencies
Installing Charts (2.2.3)
Installing SwiftyJSON (2.3.1)
Generating Pods project
Integrating client project
Sending stats
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.
相关问题