CocoaPods CorePlot installation shows missing frameworks and missing files

I am new to CocoaPods and I am trying to install CorePlot with this line in my subpixel:

platform :ios, "7.0" ... pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git' 

When I open the .xcworkspace file after installation, CorePlot shows the missing frameworks. I installed these related binaries in my Xcode project, but this did not solve the problem. Inside the CorePlot goal, there seems to be no separate way to set the frameworks.

frameworkinstalled

This is not the only problem. When I try to link to files in the CorePlot library, I get a file that is not found, although I see the files inside 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 results lead to the same error.

filenotfound

I do not know if these problems are related. What should I check and what could go wrong? Here is what I looked at:

https://github.com/core-plot/core-plot/issues/163

I would appreciate any troubleshooting tips or explanations as to what is happening. Thanks.

Here is my complete subfile:

 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 module, but here is the output of the 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 
+7
ios xcode cocoapods core-plot
source share
1 answer

The angle bracket syntax for import is for headers within a frame. CocoaPods uses static libraries, so you need to use a different syntax.

 #import "CorePlot-CocoaTouch.h" 

I just tried a clean install of Core Plot using the podfile settings in the question above. It worked great with CocoaPods 0.37.1 and Xcode 6.3.2. Make sure your copy of CocoaPods is up to date.

0
source share

All Articles