I am using Socket.IO library in swift and I keep getting this error:
App Transport Security has blocked a cleartext HTTP (http://) resource
I'm working in xCode 8.2. It's a little different, but editing the PLIST file you need to add this two Items in the App Transport Security Settings Line... :
Allow Arbitrary Loads and Allow Arbitrary Loads in Web Content... and give them both the key YES.
It worked for me, hope this work for you and sorry for my English.