Measure icon indicating copy to clipboard operation
Measure copied to clipboard

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

Open hoonahn opened this issue 7 years ago • 10 comments

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.

hoonahn avatar Dec 04 '17 08:12 hoonahn

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

wmhzhm avatar Apr 08 '18 07:04 wmhzhm

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.

andrei115 avatar Jul 03 '19 05:07 andrei115

I also encountered this error in the past two days

hw20101101 avatar Apr 24 '20 06:04 hw20101101

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

hkshenSmart avatar May 14 '20 08:05 hkshenSmart

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

ShiChenZhi avatar May 20 '20 11:05 ShiChenZhi

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

nicolasiJasica avatar Jun 15 '20 04:06 nicolasiJasica

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

CoderWGB avatar Aug 18 '20 02:08 CoderWGB

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

xaphod avatar Oct 15 '20 17:10 xaphod

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

nadeemwinterwind avatar Nov 24 '21 06:11 nadeemwinterwind

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

ShubhranshGupta avatar Jun 05 '23 10:06 ShubhranshGupta