Browse files

fix framework dependency for iOS

  • Loading branch information...
1 parent 8f24b15 commit 20e08c28b0147b374cc259a2fa48a3f7ea5ffeaf @allenwei allenwei committed Mar 28, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 CocoaHTTPServer/2.2.1/CocoaHTTPServer.podspec
View
6 CocoaHTTPServer/2.2.1/CocoaHTTPServer.podspec
@@ -8,7 +8,11 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/robbiehanson/CocoaHTTPServer.git', :tag => '2.2.1' }
s.source_files = '{Core,Extensions}/**/*.{h,m}'
s.clean_paths = %w{Samples Vendor}
- s.frameworks = %w{CoreServices Security}
+ if config.ios?
+ s.frameworks = 'CFNetwork', 'Security'
+ else
+ s.frameworks = 'CoreServices', 'Security'
+ end
s.dependency "CocoaAsyncSocket", "0.0.1"
s.dependency "CocoaLumberjack", "1.3"

0 comments on commit 20e08c2

Please sign in to comment.