bump version

This commit is contained in:
Erik Little 2017-09-20 07:13:24 -04:00
parent fc2852d1c1
commit 8364815deb
No known key found for this signature in database
GPG Key ID: 62F837E56F4E9320
2 changed files with 12 additions and 16 deletions

View File

@ -61,27 +61,23 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
Checkout the [FAQs](https://nuclearace.github.io/Socket.IO-Client-Swift/faq.html) for commonly asked questions.
## Installation
Requires Swift 3/Xcode 8.x
Requires Swift 4/Xcode 9.x
If you need swift 2.3 use the swift2.3 tag (Pre-Swift 3 support is no longer maintained)
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)
If you need swift 2.2 use 7.x.
If you need Swift 2.1 use v5.5.0.
If you need Swift 1.2 use v2.4.5.
If you need Swift 1.1 use v1.5.2.
If you need Swift 3.x use v11.1.3.
### Swift Package Manager
Add the project as a dependency to your Package.swift:
```swift
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "YourSocketIOProject",
dependencies: [
.Package(url: "https://github.com/socketio/socket.io-client-swift", majorVersion: 11)
.package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.0.0"))
]
)
```
@ -91,8 +87,8 @@ Then import `import SocketIO`.
### Carthage
Add these line to your `Cartfile`:
```
github "nuclearace/Starscream" ~> 8.0.5
github "socketio/socket.io-client-swift" ~> 11.1.3 # Or latest version
github "nuclearace/Starscream" ~> 8.0.7
github "socketio/socket.io-client-swift" ~> 12.0.0 # Or latest version
```
Run `carthage update --platform ios,macosx`.
@ -104,7 +100,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
use_frameworks!
target 'YourApp' do
pod 'Socket.IO-Client-Swift', '~> 11.1.3' # Or latest version
pod 'Socket.IO-Client-Swift', '~> 12.0.0' # Or latest version
end
```

View File

@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Socket.IO-Client-Swift"
s.module_name = "SocketIO"
s.version = "11.1.3"
s.version = "12.0.0"
s.summary = "Socket.IO-client for iOS and OS X"
s.description = <<-DESC
Socket.IO-client for iOS and OS X.
@ -17,12 +17,12 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source = {
:git => "https://github.com/socketio/socket.io-client-swift.git",
:tag => 'v11.1.3',
:tag => 'v12.0.0',
:submodules => true
}
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '4.0'
}
s.source_files = "Source/SocketIO/**/*.swift", "Source/SocketIO/*.swift"
s.dependency "StarscreamSocketIO", "~> 8.0.5"
s.dependency "StarscreamSocketIO", "~> 8.0.7"
end