FirebaseFunctions.podspec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseFunctions'
  3. s.version = '2.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 => 'Functions-' + s.version.to_s
  14. }
  15. s.ios.deployment_target = '8.0'
  16. s.osx.deployment_target = '10.11'
  17. s.tvos.deployment_target = '10.0'
  18. s.cocoapods_version = '>= 1.4.0'
  19. s.static_framework = true
  20. s.prefix_header_file = false
  21. s.source_files = [
  22. 'Functions/FirebaseFunctions/**/*',
  23. 'Interop/Auth/Public/*.h',
  24. 'FirebaseCore/Sources/Private/*.h',
  25. ]
  26. s.public_header_files = 'Functions/FirebaseFunctions/Public/*.h'
  27. s.dependency 'FirebaseCore', '~> 6.8'
  28. s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRFunctions_VERSION=' + s.version.to_s,
  32. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  33. }
  34. s.test_spec 'unit' do |unit_tests|
  35. unit_tests.source_files = 'Functions/Example/Test*/*.[mh]', 'SharedTestUtilities/FIRAuthInteropFake*'
  36. end
  37. s.test_spec 'integration' do |int_tests|
  38. int_tests.source_files = 'Functions/Example/IntegrationTests/*.[mh]',
  39. 'Functions/Example/TestUtils/*.[mh]',
  40. 'SharedTestUtilities/FIRAuthInteropFake*',
  41. 'Functions/Example/GoogleService-Info.plist'
  42. end
  43. end