Reputation: 149
I have been using CorePlot 1.5.1 using cocoapod in my Xcode project without issue. Now I need to upgrade to CorePlot 2.0 because I need the touch up/down on same event. I tried doing that by editing PodFile by either:
pod 'CorePlot', '~> 2.0'
and
target 'ERPTests' do
pod 'CorePlot'
end
First way I got error "CorePlot (~> 2.0)
required by Podfile
". Second way I got the 1.5.1 version. My cocoa pod is 0.35.0. I googled and no related post on this problem. Any idea?
Upvotes: 2
Views: 1851
Reputation: 27381
There is no 2.0 release of Core Plot (yet). Use the following line in your podfile to point at the release-2.0
branch:
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.0'
There is a combined header file that works for both Mac and iOS apps. You can also use the CorePlot-CocoaTouch.h
header for iOS projects.
#import "CorePlot.h"
Upvotes: 4