-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with cocoapods and Core Plot HEAD #163
Comments
These are fixed on the Master branch. Your podfile should include the following line to use the latest Core Plot code from Master:
|
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". 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
|
Thanks Erich! This solved the problem. |
Try using the
|
Could you post your podfile? |
Uncomment the next line to define a global platform for your project target 'Atlas Copco' do Pods for Atlas Copco end |
Hello #eskroch |
Replace
with
|
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 Pods for Atlas Copco end |
Try to comment this line: |
Thank you for your answer's #eskroch and #iDevelopper.
then it gives following error
Form #eskroch answer in google group i have changed the
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. |
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. |
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. 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. |
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
The text was updated successfully, but these errors were encountered: