-
Notifications
You must be signed in to change notification settings - Fork 905
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
Automatically run pod install
when a template ships with a Podfile
#368
Comments
Any idea on how we would let the user skip the step of installing cocoapods and running |
A |
Just asked because of this :P |
Ah, sorry! I meant something like this:
(and you can go with |
I would discourage using |
Agreed, we should leave installation of CocoaPods to the user, as there are multiple ways it can be installed. The best we can do is to propose a bunch of solutions and link to official CP docs. |
IMO it's not harmful to ask the user if the CLI should automatically install it or not, the approach suggested is the one recommended in the docs, for me it just looks a bit weird to ask for user's password when doing it as it uses |
New React Native template has CocoaPods integration and other templates might soon have it too.
Unfortunately, the drawback is that you need to run
pod install
yourself after initing a project.We want to improve this workflow and make CLI run
pod install
automatically for users when CocoaPods is available or attempt installing.Since this code is only going to be run when platform is Mac, we can assume
gem
is available and runsudo gem install cocoapods
as per the docs.We can also allow users to
skip
that step where we only print an information that they should install CocoaPods afterwards in order to runiOS
application.The text was updated successfully, but these errors were encountered: