Specificy frameworks and search paths with an xcconfig hash and use part_of_dependency.

This commit is contained in:
Eloy Duran
2011-09-13 00:23:56 +02:00
parent 27fafa53ee
commit 5d9ae838a8
4 changed files with 12 additions and 18 deletions
+4 -5
View File
@@ -23,11 +23,10 @@ Pod::Spec.new do
source_files 'Classes'
# TODO actually I think one or some of these are for Reachability
frameworks 'System/Library/Frameworks/CFNetwork.framework',
'System/Library/Frameworks/SystemConfiguration.framework',
'System/Library/Frameworks/MobileCoreServices.framework',
'System/Library/Frameworks/CoreGraphics.framework',
'usr/lib/libz.1.2.3.dylib'
xcconfig 'OTHER_LDFLAGS' => '-framework SystemConfiguration ' \
'-framework CFNetwork ' \
'-framework MobileCoreServices ' \
'-l z.1.2.3'
dependency 'Reachability', '~> 2.0', '>= 2.0.4'
end