From 94b01420afe29344cd177c430ae7c7572177699c Mon Sep 17 00:00:00 2001 From: Dmitry Preobrazhenskiy Date: Wed, 28 Nov 2018 23:37:27 +0200 Subject: [PATCH 1/2] Update to Swift 4.2 This solves the issue: https://github.com/socketio/socket.io-client-swift/issues/1101 --- .swift-version | 1 - Socket.IO-Client-Swift.podspec | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 .swift-version diff --git a/.swift-version b/.swift-version deleted file mode 100644 index 5186d070..00000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -4.0 diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec index 4367b39c..928c2537 100644 --- a/Socket.IO-Client-Swift.podspec +++ b/Socket.IO-Client-Swift.podspec @@ -21,6 +21,8 @@ Pod::Spec.new do |s| :tag => 'v13.3.1', :submodules => true } + + s.swift_version = "4.2" s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' } From 3cfd12b0bc96dc3ba2822de93b48024ff0792087 Mon Sep 17 00:00:00 2001 From: Dmitry Preobrazhenskiy Date: Wed, 28 Nov 2018 23:38:13 +0200 Subject: [PATCH 2/2] Bump Starscream to 3.0.6 This solves the issue: https://github.com/socketio/socket.io-client-swift/issues/1105 --- Socket.IO-Client-Swift.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec index 928c2537..77e00f2b 100644 --- a/Socket.IO-Client-Swift.podspec +++ b/Socket.IO-Client-Swift.podspec @@ -27,5 +27,5 @@ Pod::Spec.new do |s| 'SWIFT_VERSION' => '4.0' } s.source_files = "Source/SocketIO/**/*.swift", "Source/SocketIO/*.swift" - s.dependency "Starscream", "~> 3.0.2" + s.dependency "Starscream", "~> 3.0.6" end