diff --git a/Cartfile b/Cartfile index ea3b764..3634350 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ github "thoughtbot/runes" == 2.0.0 -github "tidwall/SwiftWebSocket" == 0.1.18 +github "ricardopereira/SwiftWebSocket" "rp-osx-v0.1.18" diff --git a/SocketIOKit.podspec b/SocketIOKit.podspec index a0a0dc1..5b60e98 100644 --- a/SocketIOKit.podspec +++ b/SocketIOKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'SocketIOKit' - spec.version = '2.0.0' + spec.version = '2.0.1' spec.summary = 'Socket.io iOS and OSX Client compatible with v1.0 and later' spec.homepage = 'https://github.com/ricardopereira/SocketIO-Kit' spec.license = { :type => 'MIT', :file => 'LICENSE.md' } diff --git a/SocketIOKit.xcodeproj/project.pbxproj b/SocketIOKit.xcodeproj/project.pbxproj index 724af08..6b4ae57 100644 --- a/SocketIOKit.xcodeproj/project.pbxproj +++ b/SocketIOKit.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ D70F6DDC1B0F3F1F007DDF31 /* SocketIOKit.h in Headers */ = {isa = PBXBuildFile; fileRef = D70F6DDB1B0F3F1F007DDF31 /* SocketIOKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D719491D1B35EACD0015C529 /* SocketIOWebSocket.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7904C571B153B0B00FF50D1 /* SocketIOWebSocket.swift */; }; D7904C291B15339A00FF50D1 /* SocketIOKit.h in Headers */ = {isa = PBXBuildFile; fileRef = D70F6DDB1B0F3F1F007DDF31 /* SocketIOKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; D7904C581B153B0B00FF50D1 /* NSURL+TrailingSlash.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7904C3D1B153B0B00FF50D1 /* NSURL+TrailingSlash.swift */; }; D7904C591B153B0B00FF50D1 /* NSURL+TrailingSlash.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7904C3D1B153B0B00FF50D1 /* NSURL+TrailingSlash.swift */; }; @@ -450,6 +451,7 @@ D7904C791B153B0B00FF50D1 /* SocketIOObject.swift in Sources */, D7904C6F1B153B0B00FF50D1 /* SocketIOEventHandler.swift in Sources */, D7904C731B153B0B00FF50D1 /* SocketIOJSON.swift in Sources */, + D719491D1B35EACD0015C529 /* SocketIOWebSocket.swift in Sources */, D7904C671B153B0B00FF50D1 /* SocketIOConnection.swift in Sources */, D7904C591B153B0B00FF50D1 /* NSURL+TrailingSlash.swift in Sources */, D7904C691B153B0B00FF50D1 /* SocketIOEmitter.swift in Sources */, diff --git a/Source/SocketIO.swift b/Source/SocketIO.swift index 1409537..381f248 100644 --- a/Source/SocketIO.swift +++ b/Source/SocketIO.swift @@ -291,10 +291,3 @@ public class SocketIO: SocketIOReceiver, SocketIOEmitter { } } - -// TODO: SwiftWebSocket doesn't have a Mac version! -#if os(OSX) - class SocketIOWebSocket: SocketIOTransport { - - } -#endif