nuclearace / Socket.IO-Client-Swift

socket.io-client for Swift
Other
361 stars 53 forks source link

Thread 5: signal SIGABRT While using SocketIO #169

Open sanyamjain65 opened 6 years ago

sanyamjain65 commented 6 years ago

HI, I am trying to create a dynamic framework in swift which uses SocketIO to connect to nodejs server and share data. SocketIO is successfully installed and compiled via Cocoapods in my framework. Framework is build successfully but when i use this framework in one of my app i got the error "Thread 5: signal SIGABRT" where i instantiate the SocketManager. let manager = SocketManager(socketURL: URL(string: "myURL")!, config: [.log(true), .compress]) i tried to print the description of manager in my debugger output console and it says

Printing description of self.manager: expression produced error: error: /var/folders/bc/pr38clts7b963ddftc9zc1n00000gn/T/expr13-2fc3c6..swift:1:99: error: use of undeclared type 'SocketIO' Swift._DebuggerSupport.stringForPrintObject(Swift.UnsafePointer<Swift.ImplicitlyUnwrappedOptional>(bitPattern: 0x1059e03e0)!.pointee)

I am not able to figure what i am doing wrong......Please help me real quick i have deadlines to meet.