MegaBits / SIOSocket

Realtime iOS application framework (client) http://socket.io
MIT License
494 stars 80 forks source link

Not able to find CocoaPod for SIOSocket #2

Closed varunvarman closed 10 years ago

varunvarman commented 10 years ago

Hi

I'm developing an chat application on iOS using SocketIO, but i am not able to fine the cocoapod so as to install a pod for SIOSocket in the iOS app is there a pod for it, or do i have to go for any other alternative,

Thanks

pcperini commented 10 years ago

I'll add this to the README, but you need to add the podspec manually.

pod 'SIOSocket', :podspec => 'https://raw.githubusercontent.com/MegaBits/SIOSocket/master/SIOSocket.podspec'
varunvarman commented 10 years ago

On running it gives an error that says 'WebKit/WebKit.h' file not found (the "WebKit/WebKit.h" is imported in the SIOSocket.m file) that i need WebKit.h in my Xcode project, there is no WebKit.h for in add foundation classes.

also can you give the explanation/tutorial of how to use the different methods of using SIOSocket in your iOs application.

pcperini commented 10 years ago

A tutorial is coming soon! In the meantime, the import is erroneous, and will only compile on iOS 8+ To fix this issue temporarily (until SIOSocket is updated with a fix), just remove the #import <WebKit/WebKit.h>

varunvarman commented 10 years ago

Thanks!! I already did that with the #import "WebKit/WebKit.h" in the SIOSocket.m, thought that it might work and it did!!

Looking forward to the tutorial!!

thanks again, regards