Permalink
Browse files

CocoaAsyncSocket: Use CoreServices on OSX, not CFNetwork

  • Loading branch information...
1 parent 442b5d7 commit 133d94966c8dda453edeb66c1a6193d7a5a2427d @lukeredpath lukeredpath committed Feb 3, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 CocoaAsyncSocket/0.0.1/CocoaAsyncSocket.podspec
View
7 CocoaAsyncSocket/0.0.1/CocoaAsyncSocket.podspec
@@ -17,5 +17,10 @@ Pod::Spec.new do |s|
s.source_files = '{GCD,RunLoop}/*.{h,m}'
s.clean_paths = 'Vendor', 'GCD/Xcode', 'RunLoop/Xcode'
- s.framework = 'CFNetwork'
+
+ if config.ios?
+ s.frameworks = 'CFNetwork'
+ else
+ s.frameworks = 'CoreServices'
+ end
end

0 comments on commit 133d949

Please sign in to comment.