-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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-xcode.sh doesn't filter out link local addresses correctly #44752
Labels
Needs: Attention
Issues where the author has responded to feedback.
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Version Info
Comments
github-actions
bot
added
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
labels
Jun 3, 2024
|
|
cc @cipolleschi @robhogan et al. if we need to fix this in a different way for iOS |
@msbit you have issues with your physical device only, right? It works properly on the simulator, correct? |
@cipolleschi I haven't checked explicitly, but I'm guessing the check of platform at:
|
github-actions
bot
added
Needs: Attention
Issues where the author has responded to feedback.
and removed
Needs: Author Feedback
labels
Jun 9, 2024
yes, it is possible. @robhogan could you take this? I'm going to be on PTO next week. Otherwise I can look into it when I'm back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Needs: Attention
Issues where the author has responded to feedback.
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Version Info
Description
At
react-native/packages/react-native/scripts/react-native-xcode.sh
Lines 17 to 22 in 63e893d
ipconfig getifaddr
.At
react-native/packages/react-native/scripts/react-native-xcode.sh
Lines 23 to 25 in 63e893d
IP
is empty) it uses a looser search,grep
ping forinet
and discarding link local addresses (127.x
and169.254.x
).The scenario I have is where my
en0
has a link local address (169.254.36.33
) and so as the first search doesn't filter out these addresses, this is what is written toip.txt
atreact-native/packages/react-native/scripts/react-native-xcode.sh
Line 27 in 63e893d
Steps to reproduce
React Native Version
0.74.1
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: