FirebaseDatabase.podspec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This podspec is not intended to be deployed. It is solely for the static
  2. # library framework build process at
  3. # https://github.com/firebase/firebase-ios-sdk/tree/master/BuildFrameworks
  4. Pod::Spec.new do |s|
  5. s.name = 'FirebaseDatabase'
  6. s.version = '4.0.0'
  7. s.summary = 'Firebase Open Source Libraries for iOS.'
  8. s.description = <<-DESC
  9. Simplify your iOS development, grow your user base, and monetize more effectively with Firebase.
  10. DESC
  11. s.homepage = 'https://firebase.google.com'
  12. s.license = { :type => 'Apache', :file => '../../LICENSE' }
  13. s.authors = 'Google, Inc.'
  14. # NOTE that the FirebaseDev pod is neither publicly deployed nor yet interchangeable with the
  15. # Firebase pod
  16. s.source = { :git => 'https://github.com/firebase/firebase-ios-sdk.git', :tag => s.version.to_s }
  17. s.social_media_url = 'https://twitter.com/Firebase'
  18. s.ios.deployment_target = '7.0'
  19. s.osx.deployment_target = '10.10'
  20. s.source_files = '**/*.[mh]',
  21. 'third_party/Wrap-leveldb/APLevelDB.mm',
  22. 'third_party/SocketRocket/fbase64.c'
  23. s.public_header_files =
  24. 'Api/FirebaseDatabase.h',
  25. 'Api/FIRDataEventType.h',
  26. 'Api/FIRDataSnapshot.h',
  27. 'Api/FIRDatabaseQuery.h',
  28. 'Api/FIRDatabaseSwiftNameSupport.h',
  29. 'Api/FIRMutableData.h',
  30. 'Api/FIRServerValue.h',
  31. 'Api/FIRTransactionResult.h',
  32. 'Api/FIRDatabase.h',
  33. 'FIRDatabaseReference.h'
  34. s.library = 'c++'
  35. s.library = 'icucore'
  36. s.framework = 'CFNetwork'
  37. s.framework = 'Security'
  38. s.framework = 'SystemConfiguration'
  39. s.dependency 'leveldb-library'
  40. # s.dependency 'FirebaseDev/Core'
  41. s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' =>
  42. '$(inherited) ' +
  43. 'FIRDatabase_VERSION=' + s.version.to_s }
  44. end