FirebaseFunctionsSwift.podspec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseFunctionsSwift'
  3. s.version = '8.14.0-beta'
  4. s.summary = 'Swift Extensions for Firebase Functions'
  5. s.description = <<-DESC
  6. Swift SDK Extensions for Cloud Functions for Firebase.
  7. DESC
  8. s.homepage = 'https://developers.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.swift_version = '5.3'
  16. ios_deployment_target = '10.0'
  17. osx_deployment_target = '10.12'
  18. tvos_deployment_target = '10.0'
  19. watchos_deployment_target = '6.0'
  20. s.ios.deployment_target = ios_deployment_target
  21. s.osx.deployment_target = osx_deployment_target
  22. s.tvos.deployment_target = tvos_deployment_target
  23. s.watchos.deployment_target = watchos_deployment_target
  24. s.cocoapods_version = '>= 1.4.0'
  25. s.prefix_header_file = false
  26. s.source_files = [
  27. 'FirebaseFunctionsSwift/Sources/**/*.swift',
  28. ]
  29. s.dependency 'FirebaseFunctions', '~> 8.11'
  30. s.dependency 'FirebaseSharedSwift', '~> 8.11'
  31. # Using environment variable because of the dependency on the unpublished
  32. # FirebaseFunctionsTestingSupport.
  33. if ENV['POD_LIB_LINT_ONLY'] && ENV['POD_LIB_LINT_ONLY'] == '1' then
  34. s.test_spec 'integration' do |int_tests|
  35. int_tests.platforms = {
  36. :ios => ios_deployment_target,
  37. :osx => osx_deployment_target,
  38. :tvos => tvos_deployment_target
  39. }
  40. int_tests.source_files = 'FirebaseFunctionsSwift/Tests/*.swift'
  41. int_tests.dependency 'FirebaseFunctionsTestingSupport'
  42. end
  43. end
  44. end