FirebaseStorage.podspec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseStorage'
  3. s.version = '7.2.0'
  4. s.summary = 'Firebase Storage'
  5. s.description = <<-DESC
  6. Firebase Storage provides robust, secure file uploads and downloads from Firebase SDKs, powered by Google Cloud Storage.
  7. DESC
  8. s.homepage = 'https://firebase.google.com'
  9. s.license = { :type => 'Apache', :file => 'LICENSE' }
  10. s.authors = 'Google, Inc.'
  11. s.source = {
  12. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  13. :tag => 'CocoaPods-' + s.version.to_s
  14. }
  15. s.social_media_url = 'https://twitter.com/Firebase'
  16. s.ios.deployment_target = '10.0'
  17. s.osx.deployment_target = '10.12'
  18. s.tvos.deployment_target = '10.0'
  19. s.watchos.deployment_target = '6.0'
  20. s.cocoapods_version = '>= 1.4.0'
  21. s.prefix_header_file = false
  22. s.source_files = [
  23. 'FirebaseStorage/Sources/**/*.[mh]',
  24. 'Interop/Auth/Public/*.h',
  25. 'FirebaseCore/Sources/Private/*.h',
  26. ]
  27. s.public_header_files = 'FirebaseStorage/Sources/Public/FirebaseStorage/*.h'
  28. s.osx.framework = 'CoreServices'
  29. s.dependency 'FirebaseCore', '~> 7.0'
  30. s.dependency 'GTMSessionFetcher/Core', '~> 1.4'
  31. s.pod_target_xcconfig = {
  32. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  33. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  34. }
  35. s.test_spec 'unit' do |unit_tests|
  36. unit_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
  37. unit_tests.source_files = 'FirebaseStorage/Tests/Unit/*.[mh]',
  38. 'SharedTestUtilities/FIRComponentTestUtilities.*',
  39. 'SharedTestUtilities/FIRAuthInteropFake.*'
  40. unit_tests.dependency 'OCMock'
  41. end
  42. s.test_spec 'integration' do |int_tests|
  43. int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
  44. int_tests.source_files = 'FirebaseStorage/Tests/Integration/*.[mh]'
  45. int_tests.requires_app_host = true
  46. int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  47. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  48. int_tests.dependency 'FirebaseAuth', '~> 7.0'
  49. end
  50. s.test_spec 'swift-integration' do |swift_int_tests|
  51. swift_int_tests.platforms = {:ios => '10.0', :osx => '10.12', :tvos => '10.0'}
  52. swift_int_tests.source_files = 'FirebaseStorage/Tests/SwiftIntegration/*.swift'
  53. swift_int_tests.requires_app_host = true
  54. swift_int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  55. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  56. swift_int_tests.dependency 'FirebaseAuth', '~> 7.0'
  57. end
  58. end