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

Can't compile under Xcode 8.1 with Swift 3.0 #1998

Closed
beeb opened this issue Dec 22, 2016 · 5 comments
Closed

Can't compile under Xcode 8.1 with Swift 3.0 #1998

beeb opened this issue Dec 22, 2016 · 5 comments

Comments

@beeb
Copy link

beeb commented Dec 22, 2016

Hey all,

I installed Charts with cocoapods but when I try to compile, I get a long long list of errors:

errors

Am I missing something? Do I require a newer version of Xcode? Are there specific build settings I should setup?

@pmairoldi
Copy link
Collaborator

Are you using version 3.0 or above of charts?

@beeb
Copy link
Author

beeb commented Dec 22, 2016

I'm not too sure, I just added pod 'Charts' to my podfile. Isn't this supposed to get the latest version?

EDIT: cocoapods installed 2.2.5 for some reason. I fixed it with pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git'

@beeb beeb closed this as completed Dec 22, 2016
@pmairoldi
Copy link
Collaborator

If you do ~> 3.0 then it should work. Otherwise deleted the pod file.lock and install again

@beeb
Copy link
Author

beeb commented Dec 22, 2016

In fact I only see versions 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.1.6, 2.1.5, 2.1.4, 2.1.4a, 2.1.3, 2.1.2, 2.1.0, 2.0.9 as available in the master repo

@pmairoldi
Copy link
Collaborator

Oh ok. You will need to update your local pod repo. This is a change with cocoapods 1.0. The command is pod repo update. You should see the new versions after that.

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