Browse Source

#41 Fixed linking issues with Podspec

Pierre-Olivier Latour 11 years ago
parent
commit
9330330ff4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      GCDWebServer.podspec

+ 2 - 0
GCDWebServer.podspec

@@ -24,7 +24,9 @@ Pod::Spec.new do |s|
     cs.source_files = 'GCDWebServer/**/*.{h,m}'
     cs.requires_arc = true
     cs.ios.library = 'z'
+    cs.ios.frameworks = 'MobileCoreServices', 'CFNetwork'
     cs.osx.library = 'z'
+    cs.osx.framework = 'SystemConfiguration'
     cs.compiler_flags = '-DNDEBUG'  # TODO: Only set this for Release configuration
   end