App crash while app launch in Xcode 11.2.1

1.4k Views Asked by At

Getting me error and crash while app launch. I'm using Websocket.swift ('Starscream') and connection establish in app-delegate. Is there issue due to socket connection?

Error:-

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

1

There are 1 best solutions below

0
On

The reasons of this crash, for sure, might be very different, but try cleaning your Build directory with ++K.

It's like rebooting your Mac — would never hurt.