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

CocoaPods can only install Charts with Version 2.1.3 #547

Closed
dogvscat opened this issue Nov 12, 2015 · 9 comments
Closed

CocoaPods can only install Charts with Version 2.1.3 #547

dogvscat opened this issue Nov 12, 2015 · 9 comments

Comments

@dogvscat
Copy link

Readme shows there is a new version 2.1.6,but when i use CocoaPods install it ,i get some errors, and pod search Charts only get version 2.1.3 . if i use version 2.1.3 , i will get some compile errors like "# has removed from swift, double up start start ....".

@pmairoldi
Copy link
Collaborator

Just did this and got the right version. Maybe your cocoapods version is out of date or something.

@dogvscat
Copy link
Author

@petester42 Cocoapods version is 0.39.0 ,when i finished installing Charts,i just import Charts in ViewController, but i will get errors ‘no such module Charts’, so what should i do ?

@pmairoldi
Copy link
Collaborator

Try pod update. Maybe your podfile.lock has 2.1.3 in it.

@dogvscat
Copy link
Author

@petester42 below is my podfile.lock.

PODS:

  • Charts (2.1.3)

DEPENDENCIES:

  • Charts

SPEC CHECKSUMS:
Charts: 7af03baa4642bfde9745214daf109efac11977fe

COCOAPODS: 0.39.0

and pod search charts ,i will get :

-> Charts (2.1.3)
ios-charts is a powerful & easy to use chart library for iOS
pod 'Charts', '~> 2.1.3'

and pod update has no work for this.

@pmairoldi
Copy link
Collaborator

I dont know how to help you. I have a project configured with 2.1.6 using cocoapods and it works fine.

@pmairoldi
Copy link
Collaborator

This is what I get. Maybe you could upload your project to get help. Otherwise I have no idea.

screen shot 2015-11-19 at 9 21 37 pm

@dogvscat
Copy link
Author

@petester42 pod search Alamofire, and i also just get version 2.0.0, but others can get version 3.0 and their cocoapods version is 0.38.0,so i think there must be something wrong with my cocoapods. Thanks for your help.

@pmairoldi
Copy link
Collaborator

Ya that might be it. Good luck.

@dogvscat
Copy link
Author

@petester42 gem list cocoapods i get 0.39.2 and 0.38.2, so i just pod _0.38.2_ setupto older version, and now pod search Charts can get the latest version 2.1.6, and maybe i also need pod repo update.

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