Closed trondkr closed 9 years ago
These are fixed on the Master branch. Your podfile should include the following line to use the latest Core Plot code from Master:
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git'
Thank you
Erich. I must be doing something wrong here. When I use your suggested settings and install from Master (Installing CorePlot 99.99.99 (was 1.5.1)), I get an error "CorePlot/CPTAnimation.h file not found" when I build my target. Core Plot builds correctly. Do I need to add a search path in build settings or something else when I use this approach? Thanks for your help. T
I have the same issue using Pods and getting error "CorePlot/CPTAnimation.h file not found". I try to use different releases and can't build my project.
It's great case for me - to remove "Pods" from .gitignore!
May be someone fix it - may be with with Searching path on Pods internal directories.
This issue should be fixed now. I created a new Core Plot header file for CocoaPods. The old Mac framework header doesn't work because CocoaPods builds a static library, not a framework. The new header can be used from iOS, too, or you can continue to use the old CorePlot-CocoaTouch.h
.
#import "CorePlot.h"
Thanks Erich! This solved the problem.
Hello seniors,
I am not a iOS developer.
Due to some problems i have to work on a iOS application.
And i am having some problems , i have used the core-plot coco pods in my application(core plot 2.2)
After that i am facing some problems please help me , i am not able to describe it in words due not knowing the concepts of iOS development.
i have attached some screen shots please check it and help me find the solution .
Thank You in advance.
Try using the release-2.3
branch.
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.3'
Thank you for your answer #eskroch
After i update the pod file and run the pod install in terminal, it is showing following error while installing through coco pods
Could you post your podfile?
Uncomment the next line to define a global platform for your project platform :ios, '9.0'
target 'Atlas Copco' do Uncomment the next line if you're using Swift or would like to use dynamic frameworks use_frameworks!
Pods for Atlas Copco pod 'CorePlot', '~> 2.2'
end
Hello #eskroch
any update on this, i am still stuck here
Replace
pod 'CorePlot', '~> 2.2'
with
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.3'
Hi eskrochh
I have done that all ready and still got the following errors
My pod File code
platform :ios, '9.0'
target 'Atlas Copco' do Uncomment the next line if you're using Swift or would like to use dynamic frameworks use_frameworks!
Pods for Atlas Copco pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.3'
end
The error while installing pod file is
Try to comment this line:
platform :ios, '9.0'
Thank you for your answer's #eskroch and #iDevelopper. I have successfully integrated core plot in my application. The application is running now. But it gives following error If i pass
x.majorIntervalLength = CPTDecimalFromInt(2);
then it gives following error
Assigning to 'NSNumber * _Nullable' from incompatible type 'NSDecimal
Form #eskroch answer in google group i have changed the
x.majorIntervalLength = [NSDecimalNumber decimalNumberWithString:@"2"];
it removes the error but after running the application on device it hung on the chart page and chart are not showing.
is there any suggestion to resolve this issue.
x.majorIntervalLength = @(2);
is more concise.
I don't think that would cause the problem, though. Run the app with the debugger or look at the crash log to see where it's getting hung up.
Hi #eskroch
Thank for your help the issue is something else. It seems that i have to use trailing/trading instead on right/left in my application
HI #eskroch
Thanks for all your support all this time.
Few days ago i created the application build successfuly.
Yestarday after updating Xcode to 10 i am facing some issues and not able to found the correct solution if possible can you help me.
The error is following
Since i am developing the application for iPhone why it is giving me errors in mac specific .
If you have any solution to tell please help me. Thank in advance.
I've been trying to fix a similar issue in a couple of the Core Plot example apps, too. Xcode gets confused looking for header files in the Core Plot framework. I've tried a bunch of different things, but haven't found the solution yet.
Hi. If I understand it correctly the cocoapods podspecs for Core Plot now points to the HEAD. In the latest version there are a couple of lines that should be commented out for Core Plot to compile properly. The lines are in CPTAnimation:
IMP setterMethod = [boundObject methodForSelector:boundSetter]; setterMethod(boundObject, boundSetter, tweenedValue);
IMP setterMethod = [boundObject methodForSelector:boundSetter]; setterMethod(boundObject, boundSetter, buffer);
And in CPTAnimationPlotRangePeriod: IMP getterMethod = [boundObject methodForSelector:boundGetter]; CPTPlotRange *current = getterMethod(boundObject, boundGetter);
I assume these are upcoming implementations. I can of course edit these out myself, but its a problem when running CI unit test with automatic pod update.
Thanks for a great product. Cheers, Trond