-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Unable to update Chart library #2823
Comments
Hey, This is down to the issues that Charts is now written in Swift 3 while the compiler can only work with swift 2 code. |
It's written in Swift 4 now. Pick old release yourself. But I think upgrade your project to latest Swift is higher priority as I don't think you can keep using old Xcode for long. |
Now I am using Xcode9 and follow all steps but still, I am getting error Unknown class: _TtC6Charts12PieChartView in interface building file. any suggestions? |
TtC6Charts12PieChartView this is mangled class name. You should check your project setting first and maybe rebuild. Check out ChartsDemo for ref |
I am using old chart library that contains swift 2.2 0r 2.0.Now I am trying to update with your latest version. but I am getting lots of problems.
I am following these steps:-
1.Remove previous Chart folder from my repository.
2.Download Project from here: https://github.com/danielgindi/Charts
3.Drag the Charts.xcodeproj to your project
4.Hit the "+" under the "Embedded Binaries" section, and select the Charts.framework
Now my Project based on Objective-C so I also Import ProjectName-Swift.h.
First Getting this error:- compiled with newer version of Swift language (3.0) than previous files (2.0) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can you help me How to update easily
The text was updated successfully, but these errors were encountered: