Last active
October 10, 2023 06:17
-
-
Save HBehrens/5902937 to your computer and use it in GitHub Desktop.
CocoaHTTPServer.podspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 => '5cf7bac4d0bc18d257e989ea922fd2c4ca9255c4' } | |
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 | |
if config.ios? | |
s.frameworks = ['CFNetwork', 'Security'] | |
else | |
s.frameworks = ['CoreServices', 'Security'] | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = 'CocoaHTTPServer' | |
s.version = '2.3' | |
s.license = 'BSD' | |
s.summary = 'A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications.' | |
s.homepage = 'https://github.com/robbiehanson/CocoaHTTPServer' | |
s.authors = { 'Robbie Hanson' => '[email protected]' } | |
s.source = { :git => 'https://github.com/robbiehanson/CocoaHTTPServer.git', :commit => 'c6156087db381a6d233703f9686b8676af6d72a4' } | |
s.source_files = '{Core,Extensions}/**/*.{h,m}' | |
s.requires_arc = true | |
s.ios.deployment_target = '5.0' | |
s.osx.deployment_target = '10.7' | |
s.ios.frameworks = 'CFNetwork', 'Security' | |
s.osx.frameworks = 'CoreServices', 'Security' | |
s.library = 'xml2' | |
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } | |
s.dependency "CocoaAsyncSocket" | |
s.dependency "CocoaLumberjack" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment