2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseStorage'
|
2020-08-11 11:52:21 -07:00
|
|
|
s.version = '3.9.0'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Firebase Storage'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Firebase Storage provides robust, secure file uploads and downloads from Firebase SDKs, powered by Google Cloud Storage.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://firebase.google.com'
|
|
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
2018-04-17 07:02:01 -07:00
|
|
|
:tag => 'Storage-' + s.version.to_s
|
2017-11-21 17:02:22 -08:00
|
|
|
}
|
|
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2020-09-22 15:11:35 -07:00
|
|
|
s.ios.deployment_target = '10.0'
|
|
|
|
|
s.osx.deployment_target = '10.12'
|
2018-01-03 12:12:22 -08:00
|
|
|
s.tvos.deployment_target = '10.0'
|
2020-02-25 14:06:40 -08:00
|
|
|
s.watchos.deployment_target = '6.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
2018-02-16 07:43:20 -08:00
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
'FirebaseStorage/Sources/**/*.[mh]',
|
|
|
|
|
'Interop/Auth/Public/*.h',
|
|
|
|
|
'FirebaseCore/Sources/Private/*.h',
|
|
|
|
|
]
|
2020-07-31 07:22:41 -07:00
|
|
|
s.public_header_files = 'FirebaseStorage/Sources/Public/FirebaseStorage/*.h'
|
2020-06-09 05:21:28 -07:00
|
|
|
|
2017-11-21 17:02:22 -08:00
|
|
|
s.ios.framework = 'MobileCoreServices'
|
|
|
|
|
s.osx.framework = 'CoreServices'
|
|
|
|
|
|
2020-08-04 12:27:12 -07:00
|
|
|
s.dependency 'FirebaseCore', '~> 6.10'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
|
|
|
|
|
s.pod_target_xcconfig = {
|
2018-10-24 11:04:00 -07:00
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
2017-11-21 17:02:22 -08:00
|
|
|
'GCC_PREPROCESSOR_DEFINITIONS' =>
|
2020-01-03 07:22:33 -08:00
|
|
|
'FIRStorage_VERSION=' + s.version.to_s,
|
|
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
2018-10-24 11:04:00 -07:00
|
|
|
}
|
2019-05-21 06:56:48 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2020-09-22 15:11:35 -07:00
|
|
|
unit_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
|
2020-01-03 07:22:33 -08:00
|
|
|
unit_tests.source_files = 'FirebaseStorage/Tests/Unit/*.[mh]',
|
2020-07-06 11:30:01 -07:00
|
|
|
'SharedTestUtilities/FIRComponentTestUtilities.*',
|
|
|
|
|
'SharedTestUtilities/FIRAuthInteropFake.*'
|
2019-05-21 06:56:48 -07:00
|
|
|
unit_tests.dependency 'OCMock'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.test_spec 'integration' do |int_tests|
|
2020-09-22 15:11:35 -07:00
|
|
|
int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
|
2020-01-03 07:22:33 -08:00
|
|
|
int_tests.source_files = 'FirebaseStorage/Tests/Integration/*.[mh]'
|
2019-05-21 06:56:48 -07:00
|
|
|
int_tests.requires_app_host = true
|
2020-01-03 07:22:33 -08:00
|
|
|
int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
|
|
|
|
|
'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
|
2020-05-20 12:38:08 -07:00
|
|
|
int_tests.dependency 'FirebaseAuth', '~> 6.5'
|
2019-05-21 06:56:48 -07:00
|
|
|
end
|
2020-03-27 15:51:32 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'swift-integration' do |swift_int_tests|
|
2020-09-22 15:11:35 -07:00
|
|
|
swift_int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
|
2020-03-27 15:51:32 -07:00
|
|
|
swift_int_tests.source_files = 'FirebaseStorage/Tests/SwiftIntegration/*.swift'
|
|
|
|
|
swift_int_tests.requires_app_host = true
|
|
|
|
|
swift_int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
|
|
|
|
|
'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
|
2020-05-20 12:38:08 -07:00
|
|
|
swift_int_tests.dependency 'FirebaseAuth', '~> 6.5'
|
2020-03-27 15:51:32 -07:00
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|