Permalink
Browse files

Merge pull request #36 from SevInf/master

Add RestKit frameworks for OSX
  • Loading branch information...
2 parents 3a5a075 + c0ed899 commit f77b16a58a72ffdc608bed6b9896294eb5f8c12e @alloy alloy committed Jan 23, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 RestKit/0.9.3/RestKit.podspec
@@ -20,7 +20,11 @@ Pod::Spec.new do |s|
ns.description = 'The network layer provides a request/response abstraction on top of NSURLConnection.'
ns.dependency 'LibComponentLogging-NSLog'
ns.source_files = 'Code/RestKit.h', 'Code/{Network,Support}/*.{h,m}'
- ns.frameworks = 'CFNetwork', 'Security', 'MobileCoreServices', 'SystemConfiguration'
+ if config.ios?
+ ns.frameworks = 'CFNetwork', 'Security', 'MobileCoreServices', 'SystemConfiguration'
+ else
+ ns.frameworks = 'CoreServices', 'Security', 'SystemConfiguration'
+ end
end
# Like before, this creates a new spec with the name: RestKit/ObjectMapping and is a part of RestKit

0 comments on commit f77b16a

Please sign in to comment.