FirebaseStorage.podspec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseStorage'
  3. s.version = '3.9.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 => 'Storage-' + s.version.to_s
  14. }
  15. s.social_media_url = 'https://twitter.com/Firebase'
  16. s.ios.deployment_target = '8.0'
  17. s.osx.deployment_target = '10.11'
  18. s.tvos.deployment_target = '10.0'
  19. s.watchos.deployment_target = '6.0'
  20. s.cocoapods_version = '>= 1.4.0'
  21. s.static_framework = true
  22. s.prefix_header_file = false
  23. s.source_files = [
  24. 'FirebaseStorage/Sources/**/*.[mh]',
  25. 'Interop/Auth/Public/*.h',
  26. 'FirebaseCore/Sources/Private/*.h',
  27. ]
  28. s.public_header_files = 'FirebaseStorage/Sources/Public/FirebaseStorage/*.h'
  29. s.ios.framework = 'MobileCoreServices'
  30. s.osx.framework = 'CoreServices'
  31. s.dependency 'FirebaseCore', '~> 6.10'
  32. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  33. s.pod_target_xcconfig = {
  34. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  35. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  36. 'FIRStorage_VERSION=' + s.version.to_s,
  37. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  38. }
  39. s.test_spec 'unit' do |unit_tests|
  40. unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
  41. unit_tests.source_files = 'FirebaseStorage/Tests/Unit/*.[mh]',
  42. 'SharedTestUtilities/FIRComponentTestUtilities.*',
  43. 'SharedTestUtilities/FIRAuthInteropFake.*'
  44. unit_tests.dependency 'OCMock'
  45. end
  46. s.test_spec 'integration' do |int_tests|
  47. int_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
  48. int_tests.source_files = 'FirebaseStorage/Tests/Integration/*.[mh]'
  49. int_tests.requires_app_host = true
  50. int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  51. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  52. int_tests.dependency 'FirebaseAuth', '~> 6.5'
  53. end
  54. s.test_spec 'swift-integration' do |swift_int_tests|
  55. swift_int_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
  56. swift_int_tests.source_files = 'FirebaseStorage/Tests/SwiftIntegration/*.swift'
  57. swift_int_tests.requires_app_host = true
  58. swift_int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  59. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  60. swift_int_tests.dependency 'FirebaseAuth', '~> 6.5'
  61. end
  62. end