Эх сурвалжийг харах

Only require CFNetwork on iOS so that podspec works on Lion

Martin Schürrer 13 жил өмнө
parent
commit
facb4d9c12
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