Parcourir la source

#41 Fixed linking issues with Podspec

Pierre-Olivier Latour il y a 11 ans
Parent
commit
51e8dbe475
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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