FirebaseVertexAI.podspec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseVertexAI'
  3. s.version = '11.2.0-beta'
  4. s.summary = 'Vertex AI in Firebase - Public Preview'
  5. s.description = <<-DESC
  6. [Public Preview] Build AI-powered apps and features with the Gemini API using
  7. the Vertex AI in Firebase SDK.
  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. s.social_media_url = 'https://twitter.com/Firebase'
  17. ios_deployment_target = '15.0'
  18. osx_deployment_target = '11.0'
  19. tvos_deployment_target = '15.0'
  20. watchos_deployment_target = '8.0'
  21. s.ios.deployment_target = ios_deployment_target
  22. s.osx.deployment_target = osx_deployment_target
  23. s.tvos.deployment_target = tvos_deployment_target
  24. s.watchos.deployment_target = watchos_deployment_target
  25. s.cocoapods_version = '>= 1.12.0'
  26. s.prefix_header_file = false
  27. s.source_files = [
  28. 'FirebaseVertexAI/Sources/**/*.swift',
  29. ]
  30. s.swift_version = '5.9'
  31. s.framework = 'Foundation'
  32. s.ios.framework = 'UIKit'
  33. s.osx.framework = 'AppKit'
  34. s.tvos.framework = 'UIKit'
  35. s.watchos.framework = 'WatchKit'
  36. s.dependency 'FirebaseAppCheckInterop', '~> 11.2'
  37. s.dependency 'FirebaseAuthInterop', '~> 11.2'
  38. s.dependency 'FirebaseCore', '~> 11.2'
  39. s.dependency 'FirebaseCoreExtension', '~> 11.2'
  40. s.test_spec 'unit' do |unit_tests|
  41. unit_tests_dir = 'FirebaseVertexAI/Tests/Unit/'
  42. unit_tests.scheme = { :code_coverage => true }
  43. unit_tests.platforms = {
  44. :ios => ios_deployment_target,
  45. :osx => osx_deployment_target,
  46. :tvos => tvos_deployment_target
  47. }
  48. unit_tests.source_files = [
  49. unit_tests_dir + '**/*.swift',
  50. ]
  51. unit_tests.resources = [
  52. unit_tests_dir + 'vertexai-sdk-test-data/mock-responses/**/*.{txt,json}',
  53. ]
  54. end
  55. end