-
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
fix: adjust doctor
command to work with custom ios/
folder location
#1998
fix: adjust doctor
command to work with custom ios/
folder location
#1998
Conversation
Hey 👋 Just tried it, seems to work fine! Created a tiny PR to update the guide to test local changes that was missing cli-doctor in the linking step: #2000 Another side note is that, while playing around, I did the following in a normal react-native project:
The cli worked fine and detected that the environment is correctly set up. When adding more logs to cli-doctor to check what was the inferred ios project folder, it was correctly set to |
Hello 👋 Thanks for testing!
So before running every command CLI is running |
f22d042
to
b95e275
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Summary:
Fixes #1989
Right now when looking for
.xcode.env
file, we look in directories defined inreact-native.config.js
. It fixes the problem for the brownfield setups, where very often thereios/
folder is not in the default location.Test Plan:
Should find the
.xcode.env
, and if it doesn't exist - after fixing issues by pressingf
inside terminal, it should create the file in correct location.Checklist