Firestore.podspec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Be sure to run `pod lib lint Firestore.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 = 'Firestore'
  10. s.version = '0.1.0'
  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 = '8.0'
  21. s.source_files = 'Source/**/*', 'Port/**/*', 'Protos/objc/**/*.[hm]', 'third_party/**/*.[mh]'
  22. s.requires_arc = 'Source/**/*', 'third_party/**/*.[mh]'
  23. s.exclude_files = 'Port/*test.cc', 'third_party/**/Tests/**'
  24. s.public_header_files = 'Source/Public/*.h'
  25. s.frameworks = 'MobileCoreServices'
  26. s.dependency 'gRPC-ProtoRPC'
  27. s.dependency 'leveldb-library'
  28. s.dependency 'Protobuf'
  29. s.dependency 'FirebaseCommunity/Core'
  30. s.dependency 'FirebaseCommunity/Auth'
  31. s.library = 'c++'
  32. s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' =>
  33. '$(inherited) ' +
  34. 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ',
  35. 'OTHER_CFLAGS' => '-DFIRFirestore_VERSION=' + s.version.to_s
  36. }
  37. end