Skip to content

Add an error/warning for old CocoaPods versions #949

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

Closed
tjvantoll opened this issue Sep 21, 2015 · 5 comments
Closed

Add an error/warning for old CocoaPods versions #949

tjvantoll opened this issue Sep 21, 2015 · 5 comments
Assignees
Milestone

Comments

@tjvantoll
Copy link
Contributor

@fealebenpae helped me through an issue with CocoaPods, where the problem ended up being that I was using an older version of CocoaPods.

Is it possible (and a good idea) to have tns doctor and/or tns plugin add show an error when the user is using an older version of CocoaPods? For now I think we'd want to require 0.38.x+.

Let me know what you think. And thanks.

@rosen-vladimirov
Copy link
Contributor

Hi @tjvantoll
I like the idea and it sounds reasonable. I'm wondering what is the best way to check the version of CocoaPods? If I try gem which cocoapods I receive something like:
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/rb - is the 0.35.0 the version that we have to verify? Do you have any idea for another command that will give is the version of the cocoapods?

@ligaz
Copy link

ligaz commented Sep 23, 2015

What about pod --version?

@tjvantoll
Copy link
Contributor Author

What about pod --version?

👍 That's what I've been using.

@rosen-vladimirov rosen-vladimirov added this to the 1.4.0 (Under review) milestone Sep 23, 2015
@rosen-vladimirov
Copy link
Contributor

Ok, thanks, I've added it to 1.4.0 milestone.

@dtopuzov
Copy link
Contributor

dtopuzov commented Oct 5, 2015

Error message if CocoaPods is old or missing:
WARNING: CocoaPod is not installed or is not configured properly.
You will not be able to build your projects for iOS if they contain plugin with CocoaPod file.

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

5 participants