Skip to content

Instantly share code, notes, and snippets.

@satococoa
Created January 23, 2013 07:47
Show Gist options
  • Select an option

  • Save satococoa/4602914 to your computer and use it in GitHub Desktop.

Select an option

Save satococoa/4602914 to your computer and use it in GitHub Desktop.
Motion::Project::App.setup do |app|
# (snip)
app.pods do
pod 'SocketRocket', :podspec => 'SocketRocket'
pod 'socket.IO', :podspec => 'socket.IO.podspec'
end
end
Pod::Spec.new do |s|
s.name = "socket.IO"
s.version = "0.2.5"
s.summary = "socket.io v0.7.2+ for iOS devices"
s.description = <<-DESC
Interface to communicate between Objective C and Socket.IO with the help of websockets. It's based on fpotter's socketio-cocoa and uses other libraries/classes like SocketRocket, json-framework (optional) and jsonkit (optional).
DESC
s.homepage = "https://github.com/pkyeck/socket.IO-objc"
s.license = 'MIT'
s.author = { "Philipp Kyeck" => "philipp@beta-interactive.de" }
s.source = { :git => "https://github.com/pkyeck/socket.IO-objc.git", :branch => 'master' } # changed
s.source_files = '*.{h,m}'
s.requires_arc = true
s.dependency 'SocketRocket', '~> 0.2'
end
Pod::Spec.new do |s|
s.name = "SocketRocket"
s.version = '0.2.1'
s.summary = 'A conforming WebSocket (RFC 6455) client library.'
s.homepage = 'https://github.com/square/SocketRocket'
s.authors = 'Square'
s.license = 'Apache License, Version 2.0'
s.source = { :git => 'https://github.com/square/SocketRocket.git', :branch => 'master' } # changed
s.source_files = 'SocketRocket/*.{h,m,c}'
s.requires_arc = true
s.ios.frameworks = %w{CFNetwork Security}
s.osx.frameworks = %w{CoreServices Security}
s.osx.compiler_flags = '-Wno-format'
s.libraries = "icucore"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment