FirebaseFunctions.podspec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseFunctions'
  3. s.version = '8.7.0'
  4. s.summary = 'Cloud Functions for Firebase'
  5. s.description = <<-DESC
  6. 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.ios.deployment_target = '10.0'
  16. s.osx.deployment_target = '10.12'
  17. s.tvos.deployment_target = '10.0'
  18. s.watchos.deployment_target = '6.0'
  19. s.cocoapods_version = '>= 1.4.0'
  20. s.prefix_header_file = false
  21. s.source_files = [
  22. 'Functions/FirebaseFunctions/**/*',
  23. 'Interop/Auth/Public/*.h',
  24. 'FirebaseAppCheck/Sources/Interop/*.h',
  25. 'FirebaseCore/Sources/Private/*.h',
  26. 'FirebaseMessaging/Sources/Interop/FIRMessagingInterop.h',
  27. ]
  28. s.public_header_files = 'Functions/FirebaseFunctions/Public/FirebaseFunctions/*.h'
  29. s.dependency 'FirebaseCore', '~> 8.0'
  30. s.dependency 'GTMSessionFetcher/Core', '~> 1.5'
  31. s.pod_target_xcconfig = {
  32. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  33. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  34. }
  35. s.test_spec 'unit' do |unit_tests|
  36. unit_tests.scheme = { :code_coverage => true }
  37. unit_tests.source_files = [
  38. 'Functions/Example/Test*/*.[mh]',
  39. 'Functions/Tests/Unit/Swift/**/*',
  40. 'SharedTestUtilities/FIRAuthInteropFake*',
  41. 'SharedTestUtilities/FIRMessagingInteropFake*',
  42. 'SharedTestUtilities/AppCheckFake/*.[mh]',
  43. ]
  44. end
  45. s.test_spec 'integration' do |int_tests|
  46. int_tests.scheme = { :code_coverage => true }
  47. int_tests.source_files = 'Functions/Example/IntegrationTests/*.[mh]',
  48. 'Functions/Example/TestUtils/*.[mh]',
  49. 'SharedTestUtilities/FIRAuthInteropFake*',
  50. 'SharedTestUtilities/FIRMessagingInteropFake*',
  51. 'Functions/Example/GoogleService-Info.plist'
  52. end
  53. end