2018-07-06 09:37:23 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'GoogleUtilities'
|
2019-03-13 08:54:03 -07:00
|
|
|
s.version = '5.4.0'
|
2018-07-06 09:37:23 -07:00
|
|
|
s.summary = 'Google Utilities for iOS (plus community support for macOS and tvOS)'
|
|
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Internal Google Utilities including Network, Reachability Environment, Logger, and Swizzling for
|
|
|
|
|
other Google CocoaPods. They're not intended for direct public usage.
|
|
|
|
|
DESC
|
|
|
|
|
|
2018-07-16 12:47:47 -07:00
|
|
|
s.homepage = 'https://github.com/firebase/firebase-ios-sdk/tree/master/GoogleUtilities'
|
2018-07-06 09:37:23 -07:00
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
2018-07-25 06:51:14 -07:00
|
|
|
:tag => 'Utilities-' + s.version.to_s
|
2018-07-06 09:37:23 -07:00
|
|
|
}
|
2018-09-17 10:39:50 -07:00
|
|
|
# Technically GoogleUtilites requires iOS 7, but it supports a dependency pod with a minimum
|
|
|
|
|
# iOS 6, that will do runtime checking to avoid calling into GoogleUtilities.
|
2018-07-13 13:21:03 -07:00
|
|
|
s.ios.deployment_target = '6.0'
|
2018-07-06 09:37:23 -07:00
|
|
|
s.osx.deployment_target = '10.10'
|
|
|
|
|
s.tvos.deployment_target = '10.0'
|
|
|
|
|
|
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
|
|
|
|
s.subspec 'Environment' do |es|
|
2018-07-11 08:28:35 -07:00
|
|
|
es.source_files = 'GoogleUtilities/Environment/third_party/*.[mh]'
|
|
|
|
|
es.public_header_files = 'GoogleUtilities/Environment/third_party/*.h'
|
|
|
|
|
es.private_header_files = 'GoogleUtilities/Environment/third_party/*.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'Logger' do |ls|
|
2018-07-11 08:28:35 -07:00
|
|
|
ls.source_files = 'GoogleUtilities/Logger/**/*.[mh]'
|
2019-02-22 16:32:57 -05:00
|
|
|
ls.public_header_files = 'GoogleUtilities/Logger/Public/*.h'
|
2018-07-11 08:28:35 -07:00
|
|
|
ls.private_header_files = 'GoogleUtilities/Logger/Private/*.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
ls.dependency 'GoogleUtilities/Environment'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'Network' do |ns|
|
2018-07-11 08:28:35 -07:00
|
|
|
ns.source_files = 'GoogleUtilities/Network/**/*.[mh]'
|
|
|
|
|
ns.public_header_files = 'GoogleUtilities/Network/Private/*.h'
|
|
|
|
|
ns.private_header_files = 'GoogleUtilities/Network/Private/*.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
ns.dependency 'GoogleUtilities/NSData+zlib'
|
|
|
|
|
ns.dependency 'GoogleUtilities/Logger'
|
|
|
|
|
ns.dependency 'GoogleUtilities/Reachability'
|
|
|
|
|
ns.frameworks = [
|
|
|
|
|
'Security'
|
|
|
|
|
]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'NSData+zlib' do |ns|
|
2018-07-11 08:28:35 -07:00
|
|
|
ns.source_files = 'GoogleUtilities/NSData+zlib/*.[mh]'
|
|
|
|
|
ns.public_header_files = 'GoogleUtilities/NSData+zlib/GULNSData+zlib.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
ns.libraries = [
|
|
|
|
|
'z'
|
|
|
|
|
]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'Reachability' do |rs|
|
2018-07-11 08:28:35 -07:00
|
|
|
rs.source_files = 'GoogleUtilities/Reachability/**/*.[mh]'
|
|
|
|
|
rs.public_header_files = 'GoogleUtilities/Reachability/Private/*.h'
|
|
|
|
|
rs.private_header_files = 'GoogleUtilities/Reachability/Private/*.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
rs.frameworks = [
|
|
|
|
|
'SystemConfiguration'
|
|
|
|
|
]
|
|
|
|
|
rs.dependency 'GoogleUtilities/Logger'
|
|
|
|
|
end
|
2018-07-20 15:48:03 -07:00
|
|
|
|
|
|
|
|
s.subspec 'AppDelegateSwizzler' do |adss|
|
|
|
|
|
adss.source_files = 'GoogleUtilities/AppDelegateSwizzler/**/*.[mh]', 'GoogleUtilities/Common/*.h'
|
|
|
|
|
adss.public_header_files = 'GoogleUtilities/AppDelegateSwizzler/Private/*.h'
|
|
|
|
|
adss.private_header_files = 'GoogleUtilities/AppDelegateSwizzler/Private/*.h'
|
|
|
|
|
adss.dependency 'GoogleUtilities/Logger'
|
|
|
|
|
adss.dependency 'GoogleUtilities/Network'
|
2018-08-06 17:47:57 -07:00
|
|
|
adss.dependency 'GoogleUtilities/Environment'
|
2018-07-20 15:48:03 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'ISASwizzler' do |iss|
|
|
|
|
|
iss.source_files = 'GoogleUtilities/ISASwizzler/**/*.[mh]', 'GoogleUtilities/Common/*.h'
|
|
|
|
|
iss.private_header_files = 'GoogleUtilities/ISASwizzler/Private/*.h'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'MethodSwizzler' do |mss|
|
|
|
|
|
mss.source_files = 'GoogleUtilities/MethodSwizzler/**/*.[mh]', 'GoogleUtilities/Common/*.h'
|
|
|
|
|
mss.private_header_files = 'GoogleUtilities/MethodSwizzler/Private/*.h'
|
|
|
|
|
mss.dependency 'GoogleUtilities/Logger'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.subspec 'SwizzlerTestHelpers' do |sths|
|
|
|
|
|
sths.source_files = 'GoogleUtilities/SwizzlerTestHelpers/*.[hm]'
|
|
|
|
|
sths.private_header_files = 'GoogleUtilities/SwizzlerTestHelpers/*.h'
|
|
|
|
|
end
|
2018-09-14 11:59:08 -04:00
|
|
|
|
|
|
|
|
s.subspec 'UserDefaults' do |ud|
|
|
|
|
|
ud.source_files = 'GoogleUtilities/UserDefaults/**/*.[hm]'
|
|
|
|
|
ud.public_header_files = 'GoogleUtilities/UserDefaults/Private/*.h'
|
|
|
|
|
ud.private_header_files = 'GoogleUtilities/UserDefaults/Private/*.h'
|
|
|
|
|
ud.dependency 'GoogleUtilities/Logger'
|
|
|
|
|
end
|
2018-07-06 09:37:23 -07:00
|
|
|
end
|