Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
CocoaPods support
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopereira committed Jun 17, 2015
1 parent 2e640d1 commit 5cac5aa
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ SocketIO-Kit is a [Socket.io](http://socket.io) iOS client with type safe, clean

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

[![Version](https://img.shields.io/cocoapods/v/SocketIOKit.svg?style=flat)](http://cocoapods.org/pods/SocketIOKit)

## Installation

#### <img src="https://cloud.githubusercontent.com/assets/432536/5252404/443d64f4-7952-11e4-9d26-fc5cc664cb61.png" width="24" height="24"> [Carthage]
Expand All @@ -25,7 +27,19 @@ for up to date installation instructions.

[CocoaPods]: http://cocoapods.org

(work in progress)
To install it, simply add the following line to your **Podfile**:

```ruby
pod "SocketIOKit"
```

You will also need to make sure you're opting into using frameworks:

```ruby
use_frameworks!
```

Then run `pod install` with CocoaPods 0.36 or newer.

#### Manually

Expand Down
21 changes: 21 additions & 0 deletions SocketIOKit.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Pod::Spec.new do |spec|
spec.name = 'SocketIOKit'
spec.version = '1.0.2'
spec.summary = 'Socket.io iOS and OSX Client compatible with v1.0 and later'
spec.homepage = 'https://github.com/ricardopereira/SocketIO-Kit'
spec.license = { :type => 'MIT', :file => 'LICENSE.md' }
spec.author = { "Ricardo Pereira" => "[email protected]" }
spec.social_media_url = 'https://twitter.com/ricardopereiraw'
spec.source = { :git => 'https://github.com/ricardopereira/SocketIO-Kit.git', :tag => "v#{spec.version}" }
spec.source_files = 'SocketIOKit/*.{h}', 'Source/**/*.{h,swift}'

spec.requires_arc = true

spec.ios.deployment_target = '8.0'
spec.ios.frameworks = 'Foundation', 'UIKit'

spec.osx.deployment_target = '10.9'
spec.osx.frameworks = 'Foundation', 'AppKit'

spec.dependency 'Runes'
end

0 comments on commit 5cac5aa

Please sign in to comment.