Skip to content

Instantly share code, notes, and snippets.

@rvenable
Created December 12, 2012 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvenable/4268897 to your computer and use it in GitHub Desktop.
Save rvenable/4268897 to your computer and use it in GitHub Desktop.
CocoaAsyncSocket without the iOS 6 warnings
Pod::Spec.new do |s|
s.name = 'CocoaAsyncSocket'
s.version = '0.0.1'
s.license = 'public domain'
s.summary = 'An asynchronous socket networking library for Cocoa.'
s.homepage = 'https://github.com/robbiehanson/CocoaAsyncSocket'
s.authors = 'Dustin Voss', { 'Robbie Hanson' => 'robbiehanson@deusty.com' }
s.source = { :git => 'https://github.com/robbiehanson/CocoaAsyncSocket.git', :commit => 'd8d60083e07df77b1d5743d1f9bee55e0a3c3138' }
s.description = 'CocoaAsyncSocket supports TCP and UDP. The AsyncSocket class is for TCP, and the AsyncUdpSocket class is for UDP. ' \
'AsyncSocket is a TCP/IP socket networking library that wraps CFSocket and CFStream. It offers asynchronous ' \
'operation, and a native Cocoa class complete with delegate support or use the GCD variant GCDAsyncSocket. ' \
'AsyncUdpSocket is a UDP/IP socket networking library that wraps CFSocket. It works almost exactly like the TCP ' \
'version, but is designed specifically for UDP. This includes queued non-blocking send/receive operations, full ' \
'delegate support, run-loop based, self-contained class, and support for IPv4 and IPv6.'
s.source_files = '{GCD,RunLoop}/*.{h,m}'
s.requires_arc = true
s.ios.frameworks = 'CFNetwork', 'Security'
s.osx.frameworks = 'CoreServices', 'Security'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment