FirebaseCoreInternal.podspec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseCoreInternal'
  3. s.version = '11.10.0'
  4. s.summary = 'APIs for internal FirebaseCore usage.'
  5. s.description = <<-DESC
  6. Not for public use.
  7. Common APIs for internal FirebaseCore usage.
  8. DESC
  9. s.homepage = 'https://firebase.google.com'
  10. s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
  11. s.authors = 'Google, Inc.'
  12. s.source = {
  13. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  14. :tag => 'CocoaPods-' + s.version.to_s
  15. }
  16. ios_deployment_target = '12.0'
  17. osx_deployment_target = '10.15'
  18. tvos_deployment_target = '13.0'
  19. watchos_deployment_target = '7.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.source_files = [
  25. 'FirebaseCore/Internal/Sources/**/*.swift'
  26. ]
  27. s.resource_bundles = {
  28. "#{s.module_name}_Privacy" => 'FirebaseCore/Internal/Sources/Resources/PrivacyInfo.xcprivacy'
  29. }
  30. s.swift_version = '5.9'
  31. s.dependency 'GoogleUtilities/NSData+zlib', '~> 8.0'
  32. s.test_spec 'Unit' do |unit_tests|
  33. unit_tests.scheme = { :code_coverage => true }
  34. unit_tests.platforms = {
  35. :ios => '13.0',
  36. :osx => '10.15',
  37. :tvos => '13.0'
  38. }
  39. unit_tests.source_files = [
  40. 'FirebaseCore/Internal/Tests/Unit/**/*.swift',
  41. 'FirebaseCore/Internal/Tests/Common/**/*.swift',
  42. ]
  43. unit_tests.requires_app_host = true
  44. end
  45. s.test_spec 'Integration' do |int_tests|
  46. int_tests.scheme = { :code_coverage => true }
  47. int_tests.platforms = {
  48. :ios => ios_deployment_target,
  49. :osx => osx_deployment_target,
  50. :tvos => tvos_deployment_target
  51. }
  52. int_tests.source_files = [
  53. 'FirebaseCore/Internal/Tests/Integration/**/*.swift',
  54. 'FirebaseCore/Internal/Tests/Common/**/*.swift',
  55. ]
  56. int_tests.requires_app_host = true
  57. end
  58. end