From 7b950ff78d710c07b547b1b9ba98ae253d7a64fc Mon Sep 17 00:00:00 2001 From: zhangwh Date: Thu, 26 May 2016 21:19:52 +0800 Subject: [PATCH] CocoaPods 1.0.7 --- CocoaMQTT.podspec | 4 ++-- Source/CocoaMQTT.swift | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CocoaMQTT.podspec b/CocoaMQTT.podspec index 37b4a204..70a19489 100644 --- a/CocoaMQTT.podspec +++ b/CocoaMQTT.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CocoaMQTT" - s.version = "1.0.5" + s.version = "1.0.7" s.summary = "MQTT v3.1.1 client library for iOS and OS X written with Swift 2" s.homepage = "https://github.com/emqtt/CocoaMQTT" s.license = { :type => "MIT" } @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = "8.0" # s.watchos.deployment_target = "2.0" # s.tvos.deployment_target = "9.0" - s.source = { :git => "https://github.com/emqtt/CocoaMQTT.git", :tag => "1.0.5"} + s.source = { :git => "https://github.com/emqtt/CocoaMQTT.git", :tag => "1.0.7"} s.source_files = "Source/{*.h}", "Source/*.swift" s.dependency "CocoaAsyncSocket", "~> 7.4.2" s.dependency "MSWeakTimer", "~> 1.1.0" diff --git a/Source/CocoaMQTT.swift b/Source/CocoaMQTT.swift index b96ca579..d9d378f7 100644 --- a/Source/CocoaMQTT.swift +++ b/Source/CocoaMQTT.swift @@ -287,7 +287,6 @@ public class CocoaMQTT: NSObject, CocoaMQTTClient, GCDAsyncSocketDelegate, Cocoa #if DEBUG NSLog("CocoaMQTT: connected to \(host) : \(port)") #endif - connState = CocoaMQTTConnState.CONNECTED #if TARGET_OS_IPHONE if backgroundOnSocket {