浏览代码

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