Skip to content
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

Updating Charts to 3.0.4 and Swift 4 doesn't work #2851

Closed
Wh1rlw1nd opened this issue Oct 7, 2017 · 1 comment
Closed

Updating Charts to 3.0.4 and Swift 4 doesn't work #2851

Wh1rlw1nd opened this issue Oct 7, 2017 · 1 comment

Comments

@Wh1rlw1nd
Copy link

Wh1rlw1nd commented Oct 7, 2017

Hi, and thanks for this great library!

I have updated Charts to 3.0.4 version, and in Pods -> Targets -> Charts have set Swift Language version to 4.0. This is how related section looks like:

screen shot 2017-10-07 at 01 31 47 po podne

And these are errors I am seeing when I try build :
issue

This is my Podfile :

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.2'
pod 'Charts'
use_frameworks!

project 'myProject.xcodeproj'

target 'myProject' do
  pod 'Charts'
end

and this is how Podfile.lock looks like:

PODS:
  - Charts (3.0.4):
    - Charts/Core (= 3.0.4)
  - Charts/Core (3.0.4)

DEPENDENCIES:
  - Charts

SPEC CHECKSUMS:
  Charts: 0705898046257443f0afbbc3179f4b67507b6e48

PODFILE CHECKSUM: 2550099e0fb5ee6e78531ab01d41df014f8df3c4

COCOAPODS: 1.3.1

Any idea why I am getting these errors ?

@liuxuan30
Copy link
Member

liuxuan30 commented Oct 8, 2017

you don't use Charts 3.0 right? The method name seems 2.x style and has been removed. You should update your code then. read #1474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants