2

我正在尝试使用 Cocoapods 1.0.1 下载 coreplot,它不断抛出错误,'CorePlot/CorePlot-CocoaTouch.h' file not found我尝试了网上给出的各种解决方案,但对我没有任何效果。请帮我解决这个问题。

这是我的podfile代码示例

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

xcodeproj 'Sample'

pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.0'
pod 'Google/Analytics'


target 'SampleKIFTests', :exclusive => true do
  pod 'KIF', '~> 3.3.0'
  pod 'KIF/IdentifierTests', '~> 3.3.0'
end
4

1 回答 1

0

构建为静态库时,使用此行包含标题:

#import "CorePlot-CocoaTouch.h"

或构建框架时的这个:

#import <CorePlot/CorePlot.h>
于 2016-09-14T02:09:20.813 回答