I am new to CocoaPods, and I'm trying to install CorePlot with this line in my Podfile:
platform :ios, "7.0"
...
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git'
When I open the .xcworkspace
file following installation the CorePlot shows missing frameworks. I installed these linked binaries into my Xcode project, but this did not resolve the problem. Within the CorePlot target there does not seem to be a separate way to install the frameworks.
This is not the only problem. When I try to reference files within the CorePlot library, I get a file not found error even though I can see the files within the CorePlot target:
I tried the following import statements:
#import "CorePlot-CocoaTouch.h"
#import <CorePlot-CocoaTouch.h>
#import <CorePlot/CorePlot-CocoaTouch.h>
#import "CorePlot/CorePlot-CocoaTouch.h"
All result in the same error.
I don't know whether these problems are related. What should I be checking and what might have gone wrong? Here's what I've looked at:
https://github.com/core-plot/core-plot/issues/163
I'd appreciate any troubleshooting tips or explanations as to what's going on. Thanks.
Here is my full Podfile:
platform :ios, '7.0'
target 'CorePlotTestDo-OverTests' do
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git'
pod 'AFNetworking', '~> 2.5'
end
I did not save the output when I initialized the pod, but here's the output from pod update:
Update all pods
Analyzing dependencies
Pre-downloading: `CorePlot` from `https://github.com/core-plot/core-plot.git`
Downloading dependencies
Using AFNetworking (2.5.4)
Installing CorePlot 1.6 (was 1.6)
Generating Pods project
Integrating client project
CorePlot-CocoaTouch.h
, try importing it asCorePlot/CorePlot-CocoaTouch.h
– Recuperate""
instead of<>
. Also, check if there's a folder called Public Headers in the CorePlot Pod folder, you might be trying to import a private header (though the file you are trying to import makes sense to me) – Recuperate