I want to use GCDAsyncSocket in swift when build the project show this error
Use of unresolved identifier 'GCDAsyncSocket'
my code is
self.socket = GCDAsyncSocket(delegate: self, delegateQueue:dispatch_get_main_queue())
I try add this to my Bridging-Header.h
#import "GCDAsyncSocket.h" // for TCP
#import "GCDAsyncUdpSocket.h" // for UDP
The above problems are solved but new problem
'GCDAsyncSocket.h' file not found
somebody say need to imported GCDAsyncSocket.framework how to import this?