FirebaseInAppMessaging.podspec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseInAppMessaging'
  3. s.version = '0.17.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. '$(inherited) ' +
  32. 'FIRInAppMessaging_LIB_VERSION=' + String(s.version) + ' ' +
  33. 'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1'
  34. }
  35. s.dependency 'FirebaseCore', '~> 6.2'
  36. s.ios.dependency 'FirebaseAnalyticsInterop', '~> 1.3'
  37. s.dependency 'FirebaseInstanceID', '~> 4.0'
  38. s.dependency 'GoogleDataTransportCCTSupport', '~> 1.0'
  39. s.test_spec 'unit' do |unit_tests|
  40. unit_tests.source_files = 'FirebaseInAppMessaging/Tests/Unit/*.[mh]'
  41. unit_tests.resources = 'FirebaseInAppMessaging/Tests/Unit/*.txt'
  42. unit_tests.requires_app_host = true
  43. unit_tests.dependency 'OCMock'
  44. end
  45. end