FirebaseAI.podspec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseAI'
  3. s.version = '12.6.0'
  4. s.summary = 'Firebase AI SDK'
  5. s.description = <<-DESC
  6. Build AI-powered apps and features with the Gemini API using the Firebase AI SDK.
  7. DESC
  8. s.homepage = 'https://firebase.google.com'
  9. s.license = { :type => 'Apache-2.0', :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.social_media_url = 'https://twitter.com/Firebase'
  16. ios_deployment_target = '15.0'
  17. osx_deployment_target = '12.0'
  18. tvos_deployment_target = '15.0'
  19. watchos_deployment_target = '8.0'
  20. s.ios.deployment_target = ios_deployment_target
  21. s.osx.deployment_target = osx_deployment_target
  22. s.tvos.deployment_target = tvos_deployment_target
  23. s.watchos.deployment_target = watchos_deployment_target
  24. s.cocoapods_version = '>= 1.12.0'
  25. s.prefix_header_file = false
  26. s.source_files = [
  27. 'FirebaseAI/Wrapper/Sources/**/*.swift',
  28. ]
  29. s.swift_version = '5.9'
  30. s.framework = 'Foundation'
  31. s.ios.framework = 'UIKit'
  32. s.osx.framework = 'AppKit'
  33. s.tvos.framework = 'UIKit'
  34. s.watchos.framework = 'WatchKit'
  35. s.dependency 'FirebaseAILogic', '12.6.0'
  36. s.dependency 'FirebaseCore', '~> 12.6.0'
  37. s.test_spec 'unit' do |unit_tests|
  38. unit_tests_dir = 'FirebaseAI/Wrapper/Tests/'
  39. unit_tests.scheme = { :code_coverage => true }
  40. unit_tests.platforms = {
  41. :ios => ios_deployment_target,
  42. :osx => osx_deployment_target,
  43. :tvos => tvos_deployment_target
  44. }
  45. unit_tests.source_files = [
  46. unit_tests_dir + '**/*.swift',
  47. ]
  48. end
  49. end