nuclearace / socket.io-client-swift-example

An example of socket.io-client for Swift
176 stars 65 forks source link

Real device can't connect to server #13

Closed AlphaJian closed 6 years ago

AlphaJian commented 6 years ago

I download the demo app, run well in simulator. But get error when using iPad, I use socket.onAny { print("Got event: ($0.event), with items: ($0.items!)") } to print log:

Got event: error, with items: ["Could not connect to the server."]

is anyone met this issue?