diff --git a/README.md b/README.md index 502a5b2..56cb042 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,15 @@ Add the project as a dependency to your Package.swift: import PackageDescription let package = Package( - name: "YourSocketIOProject", + name: "socket.io-test", + products: [ + .executable(name: "socket.io-test", targets: ["YourTargetName"]) + ], dependencies: [ - .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.0.0")) + .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.1.0")) + ], + targets: [ + .target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources") ] ) ``` @@ -87,7 +93,7 @@ Then import `import SocketIO`. ### Carthage Add this line to your `Cartfile`: ``` -github "socketio/socket.io-client-swift" ~> 12.1.0 # Or latest version +github "socketio/socket.io-client-swift" ~> 12.1.1 # Or latest version ``` Run `carthage update --platform ios,macosx`. @@ -101,7 +107,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`: use_frameworks! target 'YourApp' do - pod 'Socket.IO-Client-Swift', '~> 12.1.0' # Or latest version + pod 'Socket.IO-Client-Swift', '~> 12.1.1' # Or latest version end ``` diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec index 5f0aa95..755ea77 100644 --- a/Socket.IO-Client-Swift.podspec +++ b/Socket.IO-Client-Swift.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Socket.IO-Client-Swift" s.module_name = "SocketIO" - s.version = "12.1.0" + s.version = "12.1.1" s.summary = "Socket.IO-client for iOS and OS X" s.description = <<-DESC Socket.IO-client for iOS and OS X. @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", - :tag => 'v12.1.0', + :tag => 'v12.1.1', :submodules => true } s.pod_target_xcconfig = {