Permalink
Browse files

Merge pull request #38 from vojto/master

Fixing OS X Frameworks
  • Loading branch information...
2 parents b18732e + 8cb25cd commit c13e5c6b2ce6ad9e351fd82e32bcef30ef26946b @robbiehanson committed Apr 3, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 CocoaAsyncSocket.podspec
View
9 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'
-end
+
+ if config.ios?
+ s.framework = 'CFNetwork'
+ else
+ s.framework = 'Security'
+ end
+end

0 comments on commit c13e5c6

Please sign in to comment.