FirebaseFunctions.podspec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseFunctions'
  3. s.version = '7.9.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.cocoapods_version = '>= 1.4.0'
  19. s.prefix_header_file = false
  20. s.source_files = [
  21. 'Functions/FirebaseFunctions/**/*',
  22. 'Interop/Auth/Public/*.h',
  23. 'FirebaseCore/Sources/Private/*.h',
  24. 'FirebaseMessaging/Sources/Interop/FIRMessagingInterop.h',
  25. ]
  26. s.public_header_files = 'Functions/FirebaseFunctions/Public/FirebaseFunctions/*.h'
  27. s.dependency 'FirebaseCore', '~> 7.0'
  28. s.dependency 'GTMSessionFetcher/Core', '~> 1.4'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  32. }
  33. s.test_spec 'unit' do |unit_tests|
  34. unit_tests.scheme = { :code_coverage => true }
  35. unit_tests.source_files = [
  36. 'Functions/Example/Test*/*.[mh]',
  37. 'SharedTestUtilities/FIRAuthInteropFake*',
  38. 'SharedTestUtilities/FIRMessagingInteropFake*',
  39. ]
  40. end
  41. s.test_spec 'integration' do |int_tests|
  42. int_tests.scheme = { :code_coverage => true }
  43. int_tests.source_files = 'Functions/Example/IntegrationTests/*.[mh]',
  44. 'Functions/Example/TestUtils/*.[mh]',
  45. 'SharedTestUtilities/FIRAuthInteropFake*',
  46. 'SharedTestUtilities/FIRMessagingInteropFake*',
  47. 'Functions/Example/GoogleService-Info.plist'
  48. end
  49. end