FirebaseFirestore.podspec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.3'
  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/src/core/**/*.{h,cc}',
  29. 'Firestore/src/support/**/*.{h,cc}',
  30. 'Firestore/third_party/**/*.[mh]'
  31. ]
  32. s.requires_arc = [
  33. 'Firestore/Source/**/*',
  34. 'Firestore/third_party/**/*.[mh]'
  35. ]
  36. s.exclude_files = [
  37. 'Firestore/Port/*test.cc',
  38. 'Firestore/third_party/**/Tests/**'
  39. ]
  40. s.public_header_files = 'Firestore/Source/Public/*.h'
  41. s.ios.dependency 'FirebaseAnalytics', '~> 4.0'
  42. s.dependency 'FirebaseAuth', '~> 4.3'
  43. s.dependency 'FirebaseCore', '~> 4.0'
  44. s.dependency 'gRPC-ProtoRPC', '~> 1.0'
  45. s.dependency 'leveldb-library', '~> 1.18'
  46. s.dependency 'Protobuf', '~> 3.1'
  47. s.frameworks = 'MobileCoreServices'
  48. s.library = 'c++'
  49. s.pod_target_xcconfig = {
  50. 'GCC_PREPROCESSOR_DEFINITIONS' =>
  51. 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ',
  52. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
  53. 'OTHER_CFLAGS' => '-DFIRFirestore_VERSION=' + s.version.to_s
  54. }
  55. end