FirebaseFirestore.podspec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #
  2. # Be sure to run `pod lib lint FirebaseFirestore.podspec' to ensure this is a
  3. # valid spec before submitting.
  4. #
  5. # Any lines starting with a # are optional, but their use is encouraged
  6. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  7. #
  8. Pod::Spec.new do |s|
  9. s.name = 'FirebaseFirestore'
  10. s.version = '0.9.4'
  11. s.summary = 'Google Cloud Firestore for iOS'
  12. s.description = <<-DESC
  13. Google Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
  14. DESC
  15. s.homepage = 'https://developers.google.com/'
  16. s.license = { :type => 'Apache', :file => 'LICENSE' }
  17. s.authors = 'Google, Inc.'
  18. s.source = { :git => 'https://github.com/TBD/Firestore.git', :tag => s.version.to_s }
  19. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  20. s.ios.deployment_target = '7.0'
  21. s.cocoapods_version = '>= 1.4.0.beta.2'
  22. s.static_framework = true
  23. s.prefix_header_file = false
  24. s.source_files = [
  25. 'Firestore/Source/**/*',
  26. 'Firestore/Port/**/*',
  27. 'Firestore/Protos/objc/**/*.[hm]',
  28. 'Firestore/core/src/**/*.{h,cc}',
  29. 'Firestore/third_party/Immutable/*.[mh]'
  30. ]
  31. s.requires_arc = [
  32. 'Firestore/Source/**/*',
  33. 'Firestore/third_party/Immutable/*.[mh]'
  34. ]
  35. s.exclude_files = [
  36. 'Firestore/Port/*test.cc',
  37. 'Firestore/third_party/Immutable/Tests/**'
  38. ]
  39. s.public_header_files = 'Firestore/Source/Public/*.h'
  40. s.ios.dependency 'FirebaseAnalytics', '~> 4.0'
  41. s.dependency 'FirebaseCore', '~> 4.0'
  42. s.dependency 'gRPC-ProtoRPC', '~> 1.0'
  43. s.dependency 'leveldb-library', '~> 1.18'
  44. s.dependency 'Protobuf', '~> 3.1'
  45. s.frameworks = 'MobileCoreServices'
  46. s.library = 'c++'
  47. s.pod_target_xcconfig = {
  48. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  49. 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ',
  50. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
  51. 'OTHER_CFLAGS' => '-DFIRFirestore_VERSION=' + s.version.to_s
  52. }
  53. end