FirebaseSegmentation.podspec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseSegmentation'
  3. s.version = '7.1.0-beta'
  4. s.summary = 'Firebase Segmentation SDK'
  5. s.description = <<-DESC
  6. Firebase Segmentation enables you to associate your custom application instance ID with Firebase for user segmentation.
  7. DESC
  8. s.homepage = 'https://firebase.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 => 'Segmentation-' + 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.static_framework = true
  20. s.prefix_header_file = false
  21. s.source_files = [
  22. 'FirebaseSegmentation/Sources/**/*.[mh]',
  23. 'FirebaseCore/Sources/Private/*.h',
  24. ]
  25. s.public_header_files = 'FirebaseSegmentation/Sources/Public/*.h'
  26. s.dependency 'FirebaseCore', '~> 7.0'
  27. s.dependency 'FirebaseInstallations', '~> 7.0'
  28. header_search_paths = {
  29. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  30. }
  31. s.pod_target_xcconfig = {
  32. 'GCC_C_LANGUAGE_STANDARD' => 'c99'
  33. }.merge(header_search_paths)
  34. s.test_spec 'unit' do |unit_tests|
  35. unit_tests.scheme = { :code_coverage => true }
  36. unit_tests.source_files = 'FirebaseSegmentation/Tests/Unit/*.[mh]'
  37. unit_tests.dependency 'OCMock'
  38. unit_tests.requires_app_host = true
  39. end
  40. end