update readme for carthage
This commit is contained in:
parent
6138c535c9
commit
185d9708cd
@ -85,13 +85,15 @@ let package = Package(
|
|||||||
Then import `import SocketIO`.
|
Then import `import SocketIO`.
|
||||||
|
|
||||||
### Carthage
|
### Carthage
|
||||||
Add these line to your `Cartfile`:
|
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.0 # Or latest version
|
||||||
```
|
```
|
||||||
|
|
||||||
Run `carthage update --platform ios,macosx`.
|
Run `carthage update --platform ios,macosx`.
|
||||||
|
|
||||||
|
Add the `Starscream` and `SocketIO` frameworks to your projects and follow the usual Carthage process.
|
||||||
|
|
||||||
### CocoaPods 1.0.0 or later
|
### CocoaPods 1.0.0 or later
|
||||||
Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
|
Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user