forked from robbiehanson/CocoaAsyncSocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CocoaAsyncSocket.podspec
26 lines (23 loc) · 1.45 KB
/
CocoaAsyncSocket.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Pod::Spec.new do |s|
s.name = 'CocoaAsyncSocket'
s.version = '7.3.1'
s.license = 'public domain'
s.summary = 'Asynchronous socket networking library for Mac and iOS'
s.homepage = 'https://github.com/robbiehanson/CocoaAsyncSocket'
s.authors = 'Dustin Voss', { 'Robbie Hanson' => '[email protected]' }
s.source = { :git => 'https://github.com/robbiehanson/CocoaAsyncSocket.git', :commit => '8407f28d92aff1f95a73274e3f305794fc518a61' }
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.clean_paths = 'Vendor', 'GCD/Xcode', 'RunLoop/Xcode'
s.requires_arc = true
if config.ios?
s.frameworks = ['CFNetwork', 'Security']
else
s.frameworks = ['CoreServices', 'Security']
end
end