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?
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"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.