FirebaseSegmentation.podspec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.prefix_header_file = false
  20. s.source_files = [
  21. 'FirebaseSegmentation/Sources/**/*.[mh]',
  22. 'FirebaseCore/Sources/Private/*.h',
  23. ]
  24. s.public_header_files = 'FirebaseSegmentation/Sources/Public/*.h'
  25. s.dependency 'FirebaseCore', '~> 7.0'
  26. s.dependency 'FirebaseInstallations', '~> 7.0'
  27. header_search_paths = {
  28. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  29. }
  30. s.pod_target_xcconfig = {
  31. 'GCC_C_LANGUAGE_STANDARD' => 'c99'
  32. }.merge(header_search_paths)
  33. s.test_spec 'unit' do |unit_tests|
  34. unit_tests.scheme = { :code_coverage => true }
  35. unit_tests.source_files = 'FirebaseSegmentation/Tests/Unit/*.[mh]'
  36. unit_tests.dependency 'OCMock'
  37. unit_tests.requires_app_host = true
  38. end
  39. end