FirebaseMessaging.podspec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseMessaging'
  3. s.version = '4.0.1'
  4. s.summary = 'Firebase Messaging for iOS'
  5. s.description = <<-DESC
  6. Firebase Messaging for iOS is a service that allows you to send data from your server to your users'
  7. iOS device, and also to receive messages from devices on the same connection. The service handles
  8. all aspects of queueing of messages and delivery to the target iOS application running on the target
  9. device, and it is completely free.
  10. DESC
  11. s.homepage = 'https://firebase.google.com'
  12. s.license = { :type => 'Apache', :file => 'LICENSE' }
  13. s.authors = 'Google, Inc.'
  14. s.source = {
  15. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  16. :tag => 'Messaging-' + s.version.to_s
  17. }
  18. s.social_media_url = 'https://twitter.com/Firebase'
  19. s.ios.deployment_target = '8.0'
  20. s.tvos.deployment_target = '10.0'
  21. s.cocoapods_version = '>= 1.4.0'
  22. s.static_framework = true
  23. s.prefix_header_file = false
  24. base_dir = "Firebase/Messaging/"
  25. s.source_files = base_dir + '**/*.[mh]'
  26. s.requires_arc = base_dir + '*.m'
  27. s.public_header_files = base_dir + 'Public/*.h'
  28. s.library = 'sqlite3'
  29. s.pod_target_xcconfig = {
  30. 'GCC_C_LANGUAGE_STANDARD' => 'c99',
  31. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  32. 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' +
  33. 'FIRMessaging_LIB_VERSION=' + String(s.version)
  34. }
  35. s.framework = 'SystemConfiguration'
  36. s.weak_framework = 'UserNotifications'
  37. s.dependency 'FirebaseAnalyticsInterop', '~> 1.1'
  38. s.dependency 'FirebaseCore', '~> 6.0'
  39. s.dependency 'FirebaseInstanceID', '~> 4.1'
  40. s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 6.0'
  41. s.dependency 'GoogleUtilities/Reachability', '~> 6.0'
  42. s.dependency 'GoogleUtilities/Environment', '~> 6.0'
  43. s.dependency 'GoogleUtilities/UserDefaults', '~> 6.0'
  44. s.dependency 'Protobuf', '~> 3.1'
  45. end