FirebaseStorage.podspec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseStorage'
  3. s.version = '3.6.0'
  4. s.summary = 'Firebase Storage for iOS (plus community support for macOS and tvOS)'
  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 = 'FirebaseStorage/Sources/**/*.[mh]'
  24. s.public_header_files = 'FirebaseStorage/Sources/Public/*.h'
  25. s.ios.framework = 'MobileCoreServices'
  26. s.osx.framework = 'CoreServices'
  27. s.dependency 'FirebaseAuthInterop', '~> 1.1'
  28. s.dependency 'FirebaseCore', '~> 6.6'
  29. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  30. s.pod_target_xcconfig = {
  31. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  32. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  33. 'FIRStorage_VERSION=' + s.version.to_s,
  34. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  35. }
  36. s.test_spec 'unit' do |unit_tests|
  37. unit_tests.source_files = 'FirebaseStorage/Tests/Unit/*.[mh]',
  38. 'Example/Shared/FIRComponentTestUtilities.*',
  39. 'Example/Shared/FIRAuthInteropFake.*'
  40. unit_tests.dependency 'OCMock'
  41. end
  42. s.test_spec 'integration' do |int_tests|
  43. int_tests.source_files = 'FirebaseStorage/Tests/Integration/*.[mh]'
  44. int_tests.requires_app_host = true
  45. int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  46. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  47. end
  48. s.test_spec 'swift-integration' do |swift_int_tests|
  49. swift_int_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
  50. swift_int_tests.source_files = 'FirebaseStorage/Tests/SwiftIntegration/*.swift'
  51. swift_int_tests.requires_app_host = true
  52. swift_int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  53. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  54. end
  55. end