FirebaseFirestore.podspec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Pod::Spec.new do |s|
  2. s.name = 'FirebaseFirestore'
  3. s.version = '11.8.0'
  4. s.summary = 'Google Cloud Firestore'
  5. s.description = <<-DESC
  6. Google Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
  7. DESC
  8. s.homepage = 'https://developers.google.com/'
  9. s.license = { :type => 'Apache-2.0', :file => 'Firestore/LICENSE' }
  10. s.authors = 'Google, Inc.'
  11. s.source = {
  12. :git => 'https://github.com/firebase/firebase-ios-sdk.git',
  13. :tag => 'CocoaPods-' + s.version.to_s
  14. }
  15. s.ios.deployment_target = '13.0'
  16. s.osx.deployment_target = '10.15'
  17. s.tvos.deployment_target = '13.0'
  18. s.swift_version = '5.9'
  19. s.weak_framework = 'FirebaseFirestoreInternal'
  20. s.cocoapods_version = '>= 1.12.0'
  21. s.prefix_header_file = false
  22. s.public_header_files = 'FirebaseFirestoreInternal/**/*.h'
  23. s.requires_arc = true
  24. s.source_files = [
  25. 'FirebaseFirestoreInternal/**/*.[mh]',
  26. 'Firestore/Swift/Source/**/*.swift',
  27. ]
  28. s.pod_target_xcconfig = {
  29. # Enables C++ <-> Swift interop (by default it's only C)
  30. "SWIFT_OBJC_INTEROP_MODE" => "objcxx",
  31. 'HEADER_SEARCH_PATHS' => '${PODS_TARGET_SRCROOT} "${PODS_TARGET_SRCROOT}/Firestore/core/src/api"'
  32. }
  33. s.resource_bundles = {
  34. "#{s.module_name}_Privacy" => 'Firestore/Swift/Source/Resources/PrivacyInfo.xcprivacy'
  35. }
  36. s.dependency 'FirebaseCore', '~> 11.8.0'
  37. s.dependency 'FirebaseCoreExtension', '~> 11.8.0'
  38. s.dependency 'FirebaseFirestoreInternal', '11.8.0'
  39. s.dependency 'FirebaseSharedSwift', '~> 11.0'
  40. end