Skip to content
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

[DYGLInitPlatform] connection to host has failed: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" #2

Open
hoonahn opened this issue Dec 4, 2017 · 10 comments

Comments

@hoonahn
Copy link

hoonahn commented Dec 4, 2017

Measure[8295:3325882] [DYGLInitPlatform] connection to host has failed: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" Measure[8295:3325882] aborting: platform initialization failed
I change the bundle identifier to run the app on my device, and changed Deployment Target to 11.1
Have no idea whey this crash occurs.

@wmhzhm
Copy link

wmhzhm commented Apr 8, 2018

Did you find how to fix this issue? I'm facing the same issue now.

@andrei115
Copy link

I think it fails to establish a network connection.
I've had the same error and managed to bypass it by adding an Allow Arbitrary Loads entry in my info.plist.
For your use case however you might have to add the exact domains to which you want to allow a connection.

@hw20101101
Copy link

I also encountered this error in the past two days

@hkshenSmart
Copy link

I also [DYGLInitPlatform] connection to host has failed!!!!

@ShiChenZhi
Copy link

I also [DYGLInitPlatform] connection to host has failed!!!!!!!!!!!

@nicolasiJasica
Copy link

I also [DYGLInitPlatform] connection to host has failed!!!!!!!!!!!!!!!!!!!

1 similar comment
@CoderWGB
Copy link

I also [DYGLInitPlatform] connection to host has failed!!!!!!!!!!!!!!!!!!!

@xaphod
Copy link

xaphod commented Oct 15, 2020

Try rebuilding the entire project from scratch: Product menu, hold down option, Clean Build Folder

@nadeemwinterwind
Copy link

same I'm facing this problem ({[ connection to host has failed: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" )}]

@ShubhranshGupta
Copy link

Clean build work for me, Delete Derived Data also if issue persist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests