Fix SPM and bump version

This commit is contained in:
Erik Little 2017-08-22 11:03:00 -04:00
parent 4f83c466f0
commit a1399d8c5c
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D
2 changed files with 8 additions and 8 deletions

View File

@ -91,8 +91,8 @@ Then import `import SocketIO`.
### Carthage ### Carthage
Add these line to your `Cartfile`: Add these line to your `Cartfile`:
``` ```
github "nuclearace/Starscream" ~> 8.0.3 github "nuclearace/Starscream" ~> 8.0.4
github "socketio/socket.io-client-swift" ~> 11.1.0 # Or latest version github "socketio/socket.io-client-swift" ~> 11.1.2 # Or latest version
``` ```
Run `carthage update --platform ios,macosx`. Run `carthage update --platform ios,macosx`.
@ -104,7 +104,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
use_frameworks! use_frameworks!
target 'YourApp' do target 'YourApp' do
pod 'Socket.IO-Client-Swift', '~> 11.1.0' # Or latest version pod 'Socket.IO-Client-Swift', '~> 11.1.2' # Or latest version
end end
``` ```
@ -132,7 +132,7 @@ Objective-C:
Add this line to your `Seedfile`: Add this line to your `Seedfile`:
``` ```
github "socketio/socket.io-client-swift", "v11.1.0", :files => "Source/*.swift" # Or latest version github "socketio/socket.io-client-swift", "v11.1.2", :files => "Source/*.swift" # Or latest version
``` ```
Run `seed install`. Run `seed install`.

View File

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