【问题标题】:CorePlot 1.5.1 pod install failedCorePlot 1.5.1 pod 安装失败
【发布时间】:2015-03-03 09:05:31
【问题描述】:

我可以使用下面的 Podfile 安装 AFNetworking

platform :ios, '7.0'  
pod 'AFNetworking', '~> 2.0'

但未能安装 CorePlot,这是我的 Podfile,

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

target "CorePlotTest" do

pod 'CorePlot', '~> 1.5.1'

end

这是我的错误代码,

我该怎么办?

【问题讨论】:

    标签: ios cocoapods core-plot


    【解决方案1】:

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

    platform :ios, "8.0"
    

    【讨论】:

      【解决方案2】:

      文件中的内容没有问题,在vimXcode中打开Podfile即可,而不是TextEdit之类的其他东西

      我们可以使用

      open -a Xcode Podfile 
      

      在 Xcode 中打开和编辑文件。

      【讨论】:

        猜你喜欢
        • 2022-11-09
        • 2021-01-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-12-22
        • 2021-01-28
        • 1970-01-01
        • 2017-10-06
        相关资源
        最近更新 更多