Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
This repository was archived by the owner on May 14, 2024. It is now read-only.

Using socket.IO-objc in a Swift application #187

@graouts

Description

@graouts

I'm trying to rewrite an Obj-C app in Swift on iOS 8 and added a bridging header to import Socket.IO like so:

#import "SocketIO.h"
#import "SocketIOPacket.h"

When I build the app, I get the following error:

/Users/antoine/<ProjectName>/Pods/Headers/socket.IO/SocketIO.h:64: the current deployment target does not support automated __weak references

I'm not very well versed in compiler settings, so it may be a user error in setting up the project, although this project worked just fine before the move to Swift. Could it be an issue with socket.IO-objc itself?

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