-
Notifications
You must be signed in to change notification settings - Fork 906
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
react-native doctor
crashes when it fails to find the default Podfile
#1989
Comments
Hello @sbalay, may I ask why you need to change the default file name? |
Hey, thanks for getting back! Actually, we don't even have an iOS folder. We removed it as our react-native app runs as a brownfield integration in an already existing app and we structured the project in a way where we don't have an ios or android folder. |
Uhm, okay. I will try to adjust the
but we can actually use paths specified in react-native.config.js .
|
The offending Might be worth picking that back to 11.x |
Seems that the commit is already in v11.x We are currently relying on react-native 0.71.x that uses v10.x.x of the CLI: https://github.com/facebook/react-native/blob/0.71-stable/package.json#L113 After adding overrides to the package.json to point the CLI to v11.x.x this is the output I get:
I guess this makes more sense and is something I can work with, so feel free to close the issue. However, using the paths defined in |
Environment
Description
When the Podfile doesn't exist or is renamed, the doctor command crashes with the following error:
Reproducible Demo
In any react-native project, rename or remove the Podfile inside the iOS folder (i.e.
mv ios/Podfile ios/Podfile.backup
)The text was updated successfully, but these errors were encountered: