cocoa pods 0.38.2 的 CorePlot

CorePlot with cocoa pods 0.38.2

我正在尝试将 CorePlotcocoapods 版本 0.38.2 一起使用。我正在使用 CorePlot pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.0'

在我的 bridging 文件中,我使用了

#import "CorePlot-CocoaTouch.h"

这里出现错误

"CorePlot-CocoaTouch.h" file not found.

请告诉我是否需要做任何更改。

提前致谢。

播客文件应包含 use_frameworks! 行。以Core Plot作为框架构建,import语句应该是:

#import "CorePlot.h"

有关 Swift 使用 Objective-C pods.

项目的更多故障排除提示,请参阅 this question 的答案