2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseStorage'
|
2019-07-19 10:33:02 -07:00
|
|
|
s.version = '3.4.0'
|
2018-04-19 16:26:46 -07:00
|
|
|
s.summary = 'Firebase Storage for iOS (plus community support for macOS and tvOS)'
|
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'
|
2018-04-17 07:02:01 -07:00
|
|
|
s.ios.deployment_target = '8.0'
|
2019-03-29 16:26:27 -07:00
|
|
|
s.osx.deployment_target = '10.11'
|
2018-01-03 12:12:22 -08:00
|
|
|
s.tvos.deployment_target = '10.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.static_framework = true
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
|
|
|
|
s.source_files = 'Firebase/Storage/**/*.[mh]'
|
|
|
|
|
s.public_header_files = 'Firebase/Storage/Public/*.h'
|
|
|
|
|
s.ios.framework = 'MobileCoreServices'
|
|
|
|
|
s.osx.framework = 'CoreServices'
|
|
|
|
|
|
2018-09-04 14:31:15 -04:00
|
|
|
s.dependency 'FirebaseAuthInterop', '~> 1.0'
|
2019-04-08 16:33:01 -07:00
|
|
|
s.dependency 'FirebaseCore', '~> 6.0'
|
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' =>
|
2018-10-24 11:04:00 -07:00
|
|
|
'FIRStorage_VERSION=' + s.version.to_s
|
|
|
|
|
}
|
2019-05-21 06:56:48 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
|
|
|
|
unit_tests.source_files = 'Example/Storage/Tests/Unit/*.[mh]',
|
|
|
|
|
'Example/Shared/FIRComponentTestUtilities.*',
|
|
|
|
|
'Example/Shared/FIRAuthInteropFake.*'
|
|
|
|
|
unit_tests.dependency 'OCMock'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.test_spec 'integration' do |int_tests|
|
|
|
|
|
int_tests.source_files = 'Example/Storage/Tests/Integration/*.[mh]'
|
|
|
|
|
int_tests.requires_app_host = true
|
|
|
|
|
int_tests.resources = 'Example/Storage/App/1mb.dat',
|
|
|
|
|
'Example/Storage/App/GoogleService-Info.plist'
|
|
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|