Podfile 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 'FirebaseCoreDiagnostics', :path => '../../'
  31. pod 'FirebaseCoreDiagnosticsInterop', :path => '../../'
  32. pod 'GoogleDataTransport', :path => '../../'
  33. pod 'GoogleDataTransportCCTSupport', :path => '../../'
  34. pod 'GoogleUtilities', :path => '../../'
  35. pod 'FirebaseFirestore', :path => '../../'
  36. target 'Firestore_Tests_iOS' do
  37. inherit! :search_paths
  38. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  39. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  40. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  41. pod 'OCMock'
  42. pod 'leveldb-library'
  43. end
  44. target 'Firestore_Benchmarks_iOS' do
  45. inherit! :search_paths
  46. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  47. end
  48. target 'Firestore_IntegrationTests_iOS' do
  49. inherit! :search_paths
  50. pod 'FirebaseFirestoreSwift', :path => '../../'
  51. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  52. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  53. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  54. pod 'OCMock'
  55. pod 'leveldb-library'
  56. end
  57. target 'Firestore_SwiftTests_iOS' do
  58. pod 'FirebaseFirestoreSwift', :path => '../../'
  59. end
  60. target 'Firestore_FuzzTests_iOS' do
  61. inherit! :search_paths
  62. platform :ios, '9.0'
  63. pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec', :inhibit_warnings => true
  64. pod '!ProtoCompiler'
  65. end
  66. end
  67. target 'Firestore_Example_macOS' do
  68. platform :osx, '10.11'
  69. pod 'FirebaseAuth', :path => '../../'
  70. pod 'FirebaseAuthInterop', :path => '../../'
  71. pod 'FirebaseCore', :path => '../../'
  72. pod 'FirebaseCoreDiagnostics', :path => '../../'
  73. pod 'FirebaseCoreDiagnosticsInterop', :path => '../../'
  74. pod 'GoogleUtilities', :path => '../../'
  75. pod 'FirebaseFirestore', :path => '../../'
  76. pod 'GoogleDataTransport', :path => '../../'
  77. pod 'GoogleDataTransportCCTSupport', :path => '../../'
  78. target 'Firestore_Tests_macOS' do
  79. inherit! :search_paths
  80. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  81. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  82. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  83. pod 'OCMock'
  84. pod 'leveldb-library'
  85. end
  86. target 'Firestore_IntegrationTests_macOS' do
  87. inherit! :search_paths
  88. pod 'FirebaseFirestoreSwift', :path => '../../'
  89. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  90. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  91. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  92. pod 'OCMock'
  93. pod 'leveldb-library'
  94. end
  95. end
  96. target 'Firestore_Example_tvOS' do
  97. platform :tvos, '10.0'
  98. pod 'FirebaseAuth', :path => '../../'
  99. pod 'FirebaseAuthInterop', :path => '../../'
  100. pod 'FirebaseCore', :path => '../../'
  101. pod 'GoogleUtilities', :path => '../../'
  102. pod 'FirebaseFirestore', :path => '../../'
  103. pod 'GoogleDataTransport', :path => '../../'
  104. pod 'GoogleDataTransportCCTSupport', :path => '../../'
  105. target 'Firestore_Tests_tvOS' do
  106. inherit! :search_paths
  107. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  108. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  109. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  110. pod 'OCMock'
  111. pod 'leveldb-library'
  112. end
  113. target 'Firestore_IntegrationTests_tvOS' do
  114. inherit! :search_paths
  115. pod 'FirebaseFirestoreSwift', :path => '../../'
  116. pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  117. pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
  118. pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'
  119. pod 'OCMock'
  120. pod 'leveldb-library'
  121. end
  122. end