Skip to content

Commit 8364815

Browse files
committed
bump version
1 parent fc2852d commit 8364815

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

README.md

+9-13
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,23 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
6161
Checkout the [FAQs](https://nuclearace.github.io/Socket.IO-Client-Swift/faq.html) for commonly asked questions.
6262
6363
## Installation
64-
Requires Swift 3/Xcode 8.x
64+
Requires Swift 4/Xcode 9.x
6565
66-
If you need swift 2.3 use the swift2.3 tag (Pre-Swift 3 support is no longer maintained)
66+
If you need Swift 2.3 use the [swift2.3 tag](https://github.com/socketio/socket.io-client-swift/releases/tag/swift2.3) (Pre-Swift 4 support is no longer maintained)
6767
68-
If you need swift 2.2 use 7.x.
69-
70-
If you need Swift 2.1 use v5.5.0.
71-
72-
If you need Swift 1.2 use v2.4.5.
73-
74-
If you need Swift 1.1 use v1.5.2.
68+
If you need Swift 3.x use v11.1.3.
7569
7670
### Swift Package Manager
7771
Add the project as a dependency to your Package.swift:
7872
```swift
73+
// swift-tools-version:4.0
74+
7975
import PackageDescription
8076
8177
let package = Package(
8278
name: "YourSocketIOProject",
8379
dependencies: [
84-
.Package(url: "https://github.com/socketio/socket.io-client-swift", majorVersion: 11)
80+
.package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.0.0"))
8581
]
8682
)
8783
```
@@ -91,8 +87,8 @@ Then import `import SocketIO`.
9187
### Carthage
9288
Add these line to your `Cartfile`:
9389
```
94-
github "nuclearace/Starscream" ~> 8.0.5
95-
github "socketio/socket.io-client-swift" ~> 11.1.3 # Or latest version
90+
github "nuclearace/Starscream" ~> 8.0.7
91+
github "socketio/socket.io-client-swift" ~> 12.0.0 # Or latest version
9692
```
9793

9894
Run `carthage update --platform ios,macosx`.
@@ -104,7 +100,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
104100
use_frameworks!
105101

106102
target 'YourApp' do
107-
pod 'Socket.IO-Client-Swift', '~> 11.1.3' # Or latest version
103+
pod 'Socket.IO-Client-Swift', '~> 12.0.0' # Or latest version
108104
end
109105
```
110106

Socket.IO-Client-Swift.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Socket.IO-Client-Swift"
33
s.module_name = "SocketIO"
4-
s.version = "11.1.3"
4+
s.version = "12.0.0"
55
s.summary = "Socket.IO-client for iOS and OS X"
66
s.description = <<-DESC
77
Socket.IO-client for iOS and OS X.
@@ -17,12 +17,12 @@ Pod::Spec.new do |s|
1717
s.requires_arc = true
1818
s.source = {
1919
:git => "https://github.com/socketio/socket.io-client-swift.git",
20-
:tag => 'v11.1.3',
20+
:tag => 'v12.0.0',
2121
:submodules => true
2222
}
2323
s.pod_target_xcconfig = {
2424
'SWIFT_VERSION' => '4.0'
2525
}
2626
s.source_files = "Source/SocketIO/**/*.swift", "Source/SocketIO/*.swift"
27-
s.dependency "StarscreamSocketIO", "~> 8.0.5"
27+
s.dependency "StarscreamSocketIO", "~> 8.0.7"
2828
end

0 commit comments

Comments
 (0)