FirebaseABTesting.podspec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseABTesting'
  3. s.version = '12.6.0'
  4. s.summary = 'Firebase ABTesting'
  5. s.description = <<-DESC
  6. A/B testing is a Firebase service that lets you run experiments across users of
  7. your mobile apps. It lets you learn how well one or more changes to
  8. your app work with a smaller set of users before you roll out changes to all
  9. users. You can run experiments to find the most effective ways to use
  10. Firebase Cloud Messaging and Firebase Remote Config in your app.
  11. DESC
  12. s.homepage = 'https://firebase.google.com'
  13. s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
  14. s.authors = 'Google, Inc.'
  15. s.source = {
  16. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  17. :tag => 'CocoaPods-' + s.version.to_s
  18. }
  19. s.social_media_url = 'https://twitter.com/Firebase'
  20. ios_deployment_target = '15.0'
  21. osx_deployment_target = '10.15'
  22. tvos_deployment_target = '15.0'
  23. watchos_deployment_target = '7.0'
  24. s.ios.deployment_target = ios_deployment_target
  25. s.osx.deployment_target = osx_deployment_target
  26. s.tvos.deployment_target = tvos_deployment_target
  27. s.watchos.deployment_target = watchos_deployment_target
  28. s.cocoapods_version = '>= 1.12.0'
  29. s.prefix_header_file = false
  30. s.swift_version = '5.9'
  31. base_dir = "FirebaseABTesting/Sources/"
  32. s.source_files = [
  33. base_dir + '**/*.[mh]',
  34. 'Interop/Analytics/Public/*.h',
  35. 'FirebaseCore/Extension/*.h',
  36. ]
  37. s.resource_bundles = {
  38. "#{s.module_name}_Privacy" => 'FirebaseABTesting/Sources/Resources/PrivacyInfo.xcprivacy'
  39. }
  40. s.requires_arc = base_dir + '*.m'
  41. s.public_header_files = base_dir + 'Public/FirebaseABTesting/*.h'
  42. s.pod_target_xcconfig = {
  43. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  44. }
  45. s.dependency 'FirebaseCore', '~> 12.6.0'
  46. s.test_spec 'unit' do |unit_tests|
  47. unit_tests.scheme = { :code_coverage => true }
  48. unit_tests.platforms = {
  49. :ios => ios_deployment_target,
  50. :osx => '10.15',
  51. :tvos => tvos_deployment_target
  52. }
  53. unit_tests.source_files = 'FirebaseABTesting/Tests/Unit/**/*.[mh]'
  54. unit_tests.resources = 'FirebaseABTesting/Tests/Unit/Resources/*.txt'
  55. unit_tests.requires_app_host = true
  56. unit_tests.dependency 'OCMock'
  57. end
  58. end