diff --git a/CocoaMQTT.podspec b/CocoaMQTT.podspec index 3a4f5988..f6777348 100644 --- a/CocoaMQTT.podspec +++ b/CocoaMQTT.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = "CocoaMQTT" - s.version = "1.3.0-rc.2" + s.version = "2.0.0" 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" } - s.authors = { "Feng Lee" => "feng@emqtt.io", "CrazyWisdom" => "zh.whong@gmail.com", "Alex Yu" => "alexyu.dc@gmail.com" } + s.authors = { "Feng Lee" => "feng@emqtt.io", "CrazyWisdom" => "zh.whong@gmail.com", "Alex Yu" => "alexyu.dc@gmail.com", "Leeway" => "leeway1208@gmail.com" } s.swift_version = "5.0" s.requires_arc = true @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = "10.0" s.tvos.deployment_target = "10.0" # s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "1.3.0-rc.2"} + s.source = { :git => "https://github.com/emqx/CocoaMQTT.git", :tag => "2.0.0"} s.default_subspec = 'Core' s.subspec 'Core' do |ss| diff --git a/README.md b/README.md index c35963b1..4151a31e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ TVOS Target: 10.0 or above Install using [CocoaPods](http://cocoapods.org) by adding this line to your Podfile: ```ruby -pod 'CocoaMQTT5, '~> 1.0.5'' +pod 'CocoaMQTT, '~> 2.0.0'' ``` Then, run the following command: @@ -31,10 +31,10 @@ Then, run the following command: $ pod install ``` -At last, import "CocoaMQTT5" to your project: +At last, import "CocoaMQTT" to your project: ```swift -import CocoaMQTT5 +import CocoaMQTT ```