Closed MisterFruits closed 4 years ago
Cocoapods is a prerequisite depending on the boilerplate you're using and the options you give it; React Native 0.60 (or later) demands it, when not using Expo.
ignite doctor
is already telling you that cocoapods isn't installed, and since it's up to the boilerplate to decide, I'm closing this, but I'll open a PR shortly for Bowser (our primary supported boilerplate) to have it give a clear error message when cocoapods is needed but not installed.
I was trying to follow the infinitred tutorial there https://shift.infinite.red/creating-a-trivia-app-with-ignite-bowser-part-1-1987cc6e93a1. I was kind of stuck because the
ignite new IgniteTrivia --boilerplate bowser --no-detox
(which run without error message and returning0
) doesn't seems to generate some important folder (app/models, app/screens etc). I'm just seeing:Thanks to Jamon Holmgren on your slack! We ran the
new --debug
command and it prompted if I wanted to install cocoapods (with homebrew or gem, but without the option of not installing it). Thus I asked with homebrew and it failed because I don't have it (it would have failed with gem as well since the process didn't have the sudo). Then the entire process failed and I got the same result as described above.I installed cocoapods manualy, ran the
new
again and now it seems to be fine (I got all the screens/models/... directories in the app).Meanwhile I still have a question, I just managed to install an old version of cocoapods, 1.8.4. Is it fine ?
Some question remaining so you can improve ignite:
Ignite installed on OSX
On a fresh
ignite new IgniteTrivia --boilerplate bowser --no-detox
before installing cocoapods: