-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[ios][xcode 15]: Running flutter run
or flutter attach
throws SocketException: Send failed (OS Error: Address family not supported by protocol family, errno = 47), address = 0.0.0.0, port = 5353".
#148381
Comments
Thanks for the report @Gidzkid |
Yes, it occurs every time I run 'flutter attach.' 'Flutter run' also encounters the same issue. If I remember correctly, it started happening last year after I updated my Xcode to version 15. |
@Gidzkid |
When I run the app in profile mode (using 'flutter run --profile'), it shows the same error. After installing the app, I run 'flutter attach', and it shows the same error again. |
flutter run
or flutter attach
throws SocketException: Send failed (OS Error: Address family not supported by protocol family, errno = 47), address = 0.0.0.0, port = 5353".
@Gidzkid are you using wireless debugging or are you connected via a physical cable? |
I tried wireless debugging and connecting via a physical cable, both giving me the same error. |
Could you try using |
Hi, I am still encountering the same issue. Below is the error log for your reference. |
Steps to reproduce
Expected results
Able to attach to a physical iOS device
Actual results
When I tried to use Android Studio to compile a Flutter app onto a physical iOS device, I encountered the following error message:
'Oops; flutter has exited unexpectedly: "SocketException: Send failed (OS Error: Address family not supported by protocol family, errno = 47), address = 0.0.0.0, port = 5353".'
The issue does not occur with Android (physical device/emulator) or iOS emulators, only with a physical iOS device. I also tried creating a new project and compiling it onto a physical iOS device, but the same issue occurred.
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: