Ios CorePlot 1.5.1吊舱安装失败

Ios CorePlot 1.5.1吊舱安装失败,ios,cocoapods,core-plot,Ios,Cocoapods,Core Plot,我可以用下面的pod文件安装AFNetworking platform :ios, '7.0' pod 'AFNetworking', '~> 2.0' 但未能安装CorePlot,这是我的pod文件 source 'https://github.com/CocoaPods/Specs.git' platform : ios, "8.0" target "CorePlotTest" do pod 'CorePlot', '~> 1.5

我可以用下面的pod文件安装AFNetworking

platform :ios, '7.0'  
pod 'AFNetworking', '~> 2.0'
但未能安装CorePlot,这是我的pod文件

source 'https://github.com/CocoaPods/Specs.git'
platform : ios, "8.0"

target "CorePlotTest" do

pod 'CorePlot', '~> 1.5.1'

end
这是我的错误代码


我该怎么办?

您的播客文件中有语法错误。删除平台行上冒号(:)和“ios”之间的空格

platform :ios, "8.0"

文件中的内容没有问题,只需在vimXcode中打开pod文件,而不是像TextEdit这样的其他东西

我们可以使用

open -a Xcode Podfile 
在Xcode中打开和编辑文件