FirebaseDatabase.podspec 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseDatabase'
  3. s.version = '5.0.2'
  4. s.summary = 'Firebase Open Source Libraries for iOS (plus community support for macOS and tvOS)'
  5. s.description = <<-DESC
  6. Simplify your iOS development, grow your user base, and monetize more effectively with Firebase.
  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 => 'Database-' + s.version.to_s
  14. }
  15. s.social_media_url = 'https://twitter.com/Firebase'
  16. s.ios.deployment_target = '8.0'
  17. s.osx.deployment_target = '10.10'
  18. s.tvos.deployment_target = '10.0'
  19. s.cocoapods_version = '>= 1.4.0'
  20. s.static_framework = true
  21. s.prefix_header_file = false
  22. base_dir = "Firebase/Database/"
  23. s.source_files = base_dir + '**/*.[mh]',
  24. base_dir + 'third_party/Wrap-leveldb/APLevelDB.mm',
  25. base_dir + 'third_party/SocketRocket/fbase64.c'
  26. s.public_header_files = base_dir + 'Public/*.h'
  27. s.libraries = ['c++', 'icucore']
  28. s.frameworks = ['CFNetwork', 'Security', 'SystemConfiguration']
  29. s.dependency 'leveldb-library', '~> 1.18'
  30. s.dependency 'FirebaseCore', '~> 5.0'
  31. s.pod_target_xcconfig = {
  32. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  33. 'FIRDatabase_VERSION=' + s.version.to_s }
  34. end