diff --git a/Cartfile b/Cartfile index 725662cf..54c991c5 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ -github "robbiehanson/CocoaAsyncSocket" "7.6.5" +github "leeway1208/CocoaAsyncSocket" "1.0.1" github "daltoniam/Starscream" "3.1.1" diff --git a/CocoaMQTT.podspec b/CocoaMQTT.podspec index d063d912..0c7030bd 100644 --- a/CocoaMQTT.podspec +++ b/CocoaMQTT.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CocoaMQTT" - s.version = "2.0.5" + s.version = "2.0.6" s.summary = "MQTT v3.1.1 client library for iOS and OS X written with Swift 5" s.homepage = "https://github.com/emqx/CocoaMQTT" s.license = { :type => "MIT" } @@ -12,11 +12,11 @@ Pod::Spec.new do |s| s.ios.deployment_target = "9.0" s.tvos.deployment_target = "10.0" # s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "2.0.5"} + s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "2.0.6"} s.default_subspec = 'Core' s.subspec 'Core' do |ss| - ss.dependency "CocoaAsyncSocket", "~> 7.6.5" + ss.dependency "MqttCocoaAsyncSocket", "~> 1.0.1" ss.source_files = "Source/*.swift" ss.exclude_files = "Source/CocoaMQTTWebSocket.swift" end diff --git a/Source/CocoaMQTT.swift b/Source/CocoaMQTT.swift index 68fa188a..f4c99396 100644 --- a/Source/CocoaMQTT.swift +++ b/Source/CocoaMQTT.swift @@ -7,7 +7,7 @@ // import Foundation -import CocoaAsyncSocket +import MqttCocoaAsyncSocket /** * Conn Ack diff --git a/Source/CocoaMQTT5.swift b/Source/CocoaMQTT5.swift index 97bb8df8..d93ec081 100644 --- a/Source/CocoaMQTT5.swift +++ b/Source/CocoaMQTT5.swift @@ -7,7 +7,7 @@ // import Foundation -import CocoaAsyncSocket +import MqttCocoaAsyncSocket /** * Connection State diff --git a/Source/CocoaMQTTSocket.swift b/Source/CocoaMQTTSocket.swift index 5ea0bf76..1614463c 100644 --- a/Source/CocoaMQTTSocket.swift +++ b/Source/CocoaMQTTSocket.swift @@ -6,7 +6,7 @@ // import Foundation -import CocoaAsyncSocket +import MqttCocoaAsyncSocket // MARK: - Interfaces