FirebaseStorage.podspec 2.9 KB

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