FirebaseStorage.podspec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseStorage'
  3. s.version = '3.5.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.cocoapods_version = '>= 1.4.0'
  20. s.static_framework = true
  21. s.prefix_header_file = false
  22. s.source_files = 'FirebaseStorage/Sources/**/*.[mh]'
  23. s.public_header_files = 'FirebaseStorage/Sources/Public/*.h'
  24. s.ios.framework = 'MobileCoreServices'
  25. s.osx.framework = 'CoreServices'
  26. s.dependency 'FirebaseAuthInterop', '~> 1.0'
  27. s.dependency 'FirebaseCore', '~> 6.0'
  28. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  32. 'FIRStorage_VERSION=' + s.version.to_s,
  33. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  34. }
  35. s.test_spec 'unit' do |unit_tests|
  36. unit_tests.source_files = 'FirebaseStorage/Tests/Unit/*.[mh]',
  37. 'Example/Shared/FIRComponentTestUtilities.*',
  38. 'Example/Shared/FIRAuthInteropFake.*'
  39. unit_tests.dependency 'OCMock'
  40. end
  41. s.test_spec 'integration' do |int_tests|
  42. int_tests.source_files = 'FirebaseStorage/Tests/Integration/*.[mh]'
  43. int_tests.requires_app_host = true
  44. int_tests.resources = 'FirebaseStorage/Tests/Integration/Resources/1mb.dat',
  45. 'FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist'
  46. end
  47. end