Skip to content

Thread 5: signal SIGABRT While using SocketIO #169

@sanyamjain65

Description

@sanyamjain65

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<SocketIO.SocketManager>>(bitPattern: 0x1059e03e0)!.pointee)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions