Преглед на файлове

Merge pull request #28 from MSch/patch-1

Only require CFNetwork on iOS so that podspec works on Lion
Mike Lewis преди 13 години
родител
ревизия
82c9f8938f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      SocketRocket.podspec

+ 2 - 1
SocketRocket.podspec

@@ -8,6 +8,7 @@ Pod::Spec.new do |s|
   s.source_files = 'SocketRocket/*.{h,m,c}'
   s.clean_paths  = %w{SRWebSocketTests SocketRocket.xcodeproj TestChat TestChatServer TestSupport extern}
   s.requires_arc = true
-  s.frameworks   = %w{CFNetwork Security}
+  s.frameworks   = %w{Security}
+  s.frameworks << 'CFNetwork' if config.ios?
   s.libraries    = "icucore"
 end