FirebaseSegmentation.podspec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseSegmentation'
  3. s.version = '0.1.0'
  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 = '8.0'
  16. s.cocoapods_version = '>= 1.4.0'
  17. s.static_framework = true
  18. s.prefix_header_file = false
  19. s.source_files = [
  20. 'FirebaseSegmentation/Sources/**/*.[mh]',
  21. 'FirebaseCore/Sources/Private/*.h',
  22. ]
  23. s.public_header_files = 'FirebaseSegmentation/Sources/Public/*.h'
  24. s.dependency 'FirebaseCore', '~> 6.7'
  25. s.dependency 'FirebaseInstallations', '~> 1.7'
  26. header_search_paths = {
  27. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
  28. }
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRSegmentation_VERSION=' + s.version.to_s
  32. }.merge(header_search_paths)
  33. s.test_spec 'unit' do |unit_tests|
  34. unit_tests.source_files = 'FirebaseSegmentation/Tests/Unit/*.[mh]'
  35. unit_tests.dependency 'OCMock'
  36. unit_tests.requires_app_host = true
  37. end
  38. end