Permalink
Browse files

- try to local PodSpec

  • Loading branch information...
1 parent 0f14f9e commit 50d5f778e5c2491ebbafbeb094f6c1651ad7221b @smistry-toushay committed Nov 29, 2013
Showing with 24 additions and 1 deletion.
  1. +23 −0 CocoaHTTPServer.podspec
  2. +1 −1 RoutingHTTPServer.podspec
View
@@ -0,0 +1,23 @@
+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' => 'cocoahttpserver@googlegroups.com' }
+ s.source = { :git => 'https://github.com/robbiehanson/CocoaHTTPServer.git', :tag => '2.3' }
+ 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", :git => "git@github.com:smistry-toushay/CocoaAsyncSocket.git" :branch => "apportable"
+ s.dependency "CocoaLumberjack", :git => "git@github.com:smistry-toushay/CocoaLumberjack.git" :branch => "apportable"
+end
@@ -12,5 +12,5 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '4.0'
s.osx.deployment_target = '10.7'
- s.dependency 'CocoaHTTPServer', :git => "git@github.com:smistry-toushay/CocoaHTTPServer.git", :branch => "apportable"
+ s.dependency 'CocoaHTTPServer', :podspec => "CocoaHTTPServer.podspec"
end

0 comments on commit 50d5f77

Please sign in to comment.