FirebaseInAppMessaging.podspec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseInAppMessaging'
  3. s.version = '0.19.0'
  4. s.summary = 'Firebase In-App Messaging for iOS'
  5. s.description = <<-DESC
  6. FirebaseInAppMessaging is the headless component of Firebase In-App Messaging on iOS client side.
  7. See more product details at https://firebase.google.com/products/in-app-messaging/ about Firebase In-App Messaging.
  8. DESC
  9. s.homepage = 'https://firebase.google.com'
  10. s.license = { :type => 'Apache', :file => 'LICENSE' }
  11. s.authors = 'Google, Inc.'
  12. s.source = {
  13. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  14. :tag => 'InAppMessaging-' + s.version.to_s
  15. }
  16. s.social_media_url = 'https://twitter.com/Firebase'
  17. s.ios.deployment_target = '9.0'
  18. s.cocoapods_version = '>= 1.4.0'
  19. s.static_framework = true
  20. s.prefix_header_file = false
  21. base_dir = "FirebaseInAppMessaging/"
  22. s.source_files = base_dir + "Sources/**/*.[cmh]"
  23. s.public_header_files = base_dir + 'Sources/Public/*.h'
  24. s.private_header_files = base_dir + 'Sources/Private/**/*.h'
  25. s.resource_bundles = {
  26. 'InAppMessagingDisplayResources' => [ base_dir + 'Resources/*.xib',
  27. base_dir + 'Resources/*.storyboard',
  28. base_dir + 'Resources/*.png']
  29. }
  30. s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' =>
  31. 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' +
  32. '$(inherited) ' +
  33. 'FIRInAppMessaging_LIB_VERSION=' + String(s.version) + ' ' +
  34. 'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1'
  35. }
  36. s.dependency 'FirebaseCore', '~> 6.2'
  37. s.ios.dependency 'FirebaseAnalyticsInterop', '~> 1.3'
  38. s.dependency 'FirebaseInstanceID', '~> 4.0'
  39. s.dependency 'GoogleDataTransportCCTSupport', '~> 2.0'
  40. s.dependency 'FirebaseABTesting', '~> 3.2'
  41. s.test_spec 'unit' do |unit_tests|
  42. unit_tests.source_files = 'FirebaseInAppMessaging/Tests/Unit/*.[mh]'
  43. unit_tests.resources = 'FirebaseInAppMessaging/Tests/Unit/*.txt'
  44. unit_tests.requires_app_host = true
  45. unit_tests.dependency 'OCMock'
  46. end
  47. end