FirebaseAuthTestingSupport.podspec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAuthTestingSupport'
  3. s.version = '1.0.0'
  4. s.summary = 'Firebase SDKs testing support types and utilities.'
  5. s.description = <<-DESC
  6. Type declarations and utilities needed for unit testing of the code dependent on Firebase SDKs
  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. ios_deployment_target = '10.0'
  16. osx_deployment_target = '10.12'
  17. tvos_deployment_target = '10.0'
  18. watchos_deployment_target = '6.0'
  19. s.ios.deployment_target = ios_deployment_target
  20. s.osx.deployment_target = osx_deployment_target
  21. s.tvos.deployment_target = tvos_deployment_target
  22. s.watchos.deployment_target = watchos_deployment_target
  23. s.cocoapods_version = '>= 1.4.0'
  24. s.prefix_header_file = false
  25. s.requires_arc = true
  26. base_dir = 'FirebaseTestingSupport/Auth/'
  27. s.source_files = [
  28. base_dir + 'Sources/**/*.{m,mm,h}',
  29. ]
  30. s.public_header_files = base_dir + '**/*.h'
  31. s.dependency 'FirebaseAuth', '~> 8.0'
  32. s.pod_target_xcconfig = {
  33. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  34. 'OTHER_CFLAGS' => '-fno-autolink',
  35. 'HEADER_SEARCH_PATHS' =>
  36. '"${PODS_TARGET_SRCROOT}" '
  37. }
  38. s.test_spec 'unit' do |unit_tests|
  39. unit_tests.scheme = { :code_coverage => true }
  40. unit_tests.platforms = {:ios => ios_deployment_target, :osx => osx_deployment_target, :tvos => tvos_deployment_target}
  41. unit_tests.source_files = [
  42. base_dir + 'Tests/**/*.swift'
  43. ]
  44. end
  45. end