Podfile 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. require 'pathname'
  2. # Uncomment the next two lines for pre-release testing on internal repo
  3. #source 'sso://cpdc-internal/firebase'
  4. #source 'https://cdn.cocoapods.org/'
  5. source 'https://cdn.cocoapods.org/'
  6. use_frameworks!
  7. install! 'cocoapods',
  8. :generate_multiple_pod_projects => true,
  9. # Disable input/output path checking for generated frameworks to make
  10. # incremental builds work properly. Without this, changes to the framework
  11. # may not be picked up in between test runs.
  12. #
  13. # See:
  14. # https://github.com/CocoaPods/CocoaPods/issues/8073
  15. # https://www.ralfebert.de/ios/blog/cocoapods-clean-input-output-files/
  16. :disable_input_output_paths => true
  17. post_install do |installer|
  18. sync = Pathname.new(__FILE__).dirname.join('../../scripts/sync_project.rb')
  19. system(sync.to_s)
  20. end
  21. target 'Firestore_Example_iOS' do
  22. platform :ios, '8.0'
  23. # The next line is the forcing function for the Firebase pod. The Firebase
  24. # version's subspecs should depend on the component versions in their
  25. # corresponding podspec's.
  26. pod 'Firebase/CoreOnly', '6.5.0'
  27. pod 'FirebaseAuth', :path => '../../'
  28. pod 'FirebaseAuthInterop', :path => '../../'
  29. pod 'FirebaseCore', :path => '../../'
  30. pod 'GoogleUtilities', :path => '../../'
  31. pod 'FirebaseFirestore', :path => '../../'
  32. target 'Firestore_Tests_iOS' do
  33. inherit! :search_paths
  34. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  35. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  36. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  37. pod 'OCMock'
  38. pod 'leveldb-library'
  39. end
  40. target 'Firestore_Benchmarks_iOS' do
  41. inherit! :search_paths
  42. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  43. end
  44. target 'Firestore_IntegrationTests_iOS' do
  45. inherit! :search_paths
  46. pod 'FirebaseFirestoreSwift', :path => '../../'
  47. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  48. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  49. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  50. pod 'OCMock'
  51. pod 'leveldb-library'
  52. end
  53. target 'Firestore_SwiftTests_iOS' do
  54. pod 'FirebaseFirestoreSwift', :path => '../../'
  55. end
  56. target 'Firestore_FuzzTests_iOS' do
  57. inherit! :search_paths
  58. platform :ios, '9.0'
  59. pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec', :inhibit_warnings => true
  60. pod '!ProtoCompiler'
  61. end
  62. end
  63. target 'Firestore_Example_macOS' do
  64. platform :osx, '10.11'
  65. pod 'FirebaseAuth', :path => '../../'
  66. pod 'FirebaseAuthInterop', :path => '../../'
  67. pod 'FirebaseCore', :path => '../../'
  68. pod 'GoogleUtilities', :path => '../../'
  69. pod 'FirebaseFirestore', :path => '../../'
  70. target 'Firestore_Tests_macOS' do
  71. inherit! :search_paths
  72. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  73. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  74. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  75. pod 'OCMock'
  76. pod 'leveldb-library'
  77. end
  78. target 'Firestore_IntegrationTests_macOS' do
  79. inherit! :search_paths
  80. pod 'FirebaseFirestoreSwift', :path => '../../'
  81. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  82. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  83. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  84. pod 'OCMock'
  85. pod 'leveldb-library'
  86. end
  87. end
  88. target 'Firestore_Example_tvOS' do
  89. platform :tvos, '10.0'
  90. pod 'FirebaseAuth', :path => '../../'
  91. pod 'FirebaseAuthInterop', :path => '../../'
  92. pod 'FirebaseCore', :path => '../../'
  93. pod 'GoogleUtilities', :path => '../../'
  94. pod 'FirebaseFirestore', :path => '../../'
  95. target 'Firestore_Tests_tvOS' do
  96. inherit! :search_paths
  97. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  98. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  99. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  100. pod 'OCMock'
  101. pod 'leveldb-library'
  102. end
  103. target 'Firestore_IntegrationTests_tvOS' do
  104. inherit! :search_paths
  105. pod 'FirebaseFirestoreSwift', :path => '../../'
  106. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  107. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  108. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  109. pod 'OCMock'
  110. pod 'leveldb-library'
  111. end
  112. end