File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,15 @@ Add the project as a dependency to your Package.swift:
7575import PackageDescription
7676
7777let package = Package(
78- name: "YourSocketIOProject",
78+ name: "socket.io-test",
79+ products: [
80+ .executable(name: "socket.io-test", targets: ["YourTargetName"])
81+ ],
7982 dependencies: [
80- .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.0.0"))
83+ .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.1.0"))
84+ ],
85+ targets: [
86+ .target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources")
8187 ]
8288)
8389```
@@ -87,7 +93,7 @@ Then import `import SocketIO`.
8793### Carthage
8894Add this line to your ` Cartfile ` :
8995```
90- github "socketio/socket.io-client-swift" ~> 12.1.0 # Or latest version
96+ github "socketio/socket.io-client-swift" ~> 12.1.1 # Or latest version
9197```
9298
9399Run ` carthage update --platform ios,macosx ` .
@@ -101,7 +107,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
101107use_frameworks!
102108
103109target ' YourApp' do
104- pod ' Socket.IO-Client-Swift' , ' ~> 12.1.0 ' # Or latest version
110+ pod ' Socket.IO-Client-Swift' , ' ~> 12.1.1 ' # Or latest version
105111end
106112```
107113
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "Socket.IO-Client-Swift"
33 s . module_name = "SocketIO"
4- s . version = "12.1.0 "
4+ s . version = "12.1.1 "
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,7 +17,7 @@ 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 => 'v12.1.0 ' ,
20+ :tag => 'v12.1.1 ' ,
2121 :submodules => true
2222 }
2323 s . pod_target_xcconfig = {
You can’t perform that action at this time.
0 commit comments