diff --git a/.swift-version b/.swift-version index bf77d549..819e07a2 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.2 +5.0 diff --git a/CocoaMQTT.podspec b/CocoaMQTT.podspec index 061b64f4..b5c84792 100644 --- a/CocoaMQTT.podspec +++ b/CocoaMQTT.podspec @@ -1,18 +1,18 @@ Pod::Spec.new do |s| s.name = "CocoaMQTT" - s.version = "1.1.3" - s.summary = "MQTT v3.1.1 client library for iOS and OS X written with Swift 4" + s.version = "1.2.0" + s.summary = "MQTT v3.1.1 client library for iOS and OS X written with Swift 5" s.homepage = "https://github.com/emqtt/CocoaMQTT" s.license = { :type => "MIT" } s.authors = { "Feng Lee" => "feng@emqtt.io", "CrazyWisdom" => "zh.whong@gmail.com", "Alex Yu" => "alexyu.dc@gmail.com" } - s.swift_version = "4.2" + s.swift_version = "5.0" s.requires_arc = true s.osx.deployment_target = "10.9" s.ios.deployment_target = "8.0" s.tvos.deployment_target = "9.0" # s.watchos.deployment_target = "2.0" - s.source = { :git => "https://github.com/emqtt/CocoaMQTT.git", :tag => "1.1.3"} + s.source = { :git => "https://github.com/emqtt/CocoaMQTT.git", :tag => "1.2.0"} s.source_files = "Source/{*.h}", "Source/*.swift" s.dependency "CocoaAsyncSocket", "~> 7.6.3" end diff --git a/README.md b/README.md index e5b326bc..cb3d06e8 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,13 @@ Install using [Carthage](https://github.com/Carthage/Carthage) by adding the fol github "robbiehanson/CocoaAsyncSocket" "master" github "emqtt/CocoaMQTT" "master" ```` + Then, run the following command: ```bash $ carthage update --platform iOS ``` + Last if you're building for OS X: - On your application targets “General” settings tab, in the “Embedded Binaries” section, drag and drop CocoaMQTT.framework from the Carthage/Build/Mac folder on disk. @@ -52,6 +54,7 @@ If you're building for iOS, tvOS: `/usr/local/bin/carthage copy-frameworks` - and add the paths to the frameworks you want to use under “Input Files”, e.g.: + ``` $(SRCROOT)/Carthage/Build/iOS/CocoaMQTT.framework ``` @@ -129,6 +132,5 @@ MIT License (see `LICENSE`) ## Twitter - https://twitter.com/emqtt