Podfile 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. # Uncomment the next two lines for pre-release testing on internal repo
  2. #source 'sso://cpdc-internal/firebase'
  3. #source 'https://github.com/CocoaPods/Specs.git'
  4. # Uncomment the next two lines for pre-release testing on public repo
  5. #source 'https://github.com/Firebase/SpecsStaging.git'
  6. #source 'https://github.com/CocoaPods/Specs.git'
  7. use_frameworks!
  8. pod 'FirebaseAnalyticsInterop', :path => '../'
  9. pod 'FirebaseAuthInterop', :path => '../'
  10. pod 'FirebaseCore', :path => '../'
  11. pod 'GoogleUtilities', :path => '../'
  12. target 'Core_Example_iOS' do
  13. platform :ios, '8.0'
  14. # The next line is the forcing function for the Firebase pod. The Firebase
  15. # version's subspecs should depend on the component versions in their
  16. # corresponding podspec's.
  17. pod 'Firebase/CoreOnly', '5.17.0'
  18. target 'Core_Tests_iOS' do
  19. inherit! :search_paths
  20. pod 'OCMock'
  21. end
  22. end
  23. target 'Auth_Example_iOS' do
  24. platform :ios, '8.0'
  25. pod 'FirebaseAuth', :path => '../'
  26. target 'Auth_Tests_iOS' do
  27. inherit! :search_paths
  28. pod 'OCMock'
  29. end
  30. end
  31. target 'Database_Example_iOS' do
  32. platform :ios, '8.0'
  33. pod 'FirebaseDatabase', :path => '../'
  34. target 'Database_Tests_iOS' do
  35. inherit! :search_paths
  36. end
  37. target 'Database_IntegrationTests_iOS' do
  38. inherit! :search_paths
  39. end
  40. end
  41. target 'DynamicLinks_Example_iOS' do
  42. platform :ios, '8.0'
  43. pod 'FirebaseDynamicLinks', :path => '../'
  44. target 'DynamicLinks_Tests_iOS' do
  45. inherit! :search_paths
  46. pod 'OCMock'
  47. pod 'GoogleUtilities/MethodSwizzler', :path => '../'
  48. pod 'GoogleUtilities/SwizzlerTestHelpers', :path => '../'
  49. # Set define to turn on the unswizzler for the unit tests
  50. post_install do |installer_representation|
  51. installer_representation.pods_project.targets.each do |target|
  52. target.build_configurations.each do |config|
  53. if config.name != 'Release'
  54. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'GUL_UNSWIZZLING_ENABLED=1']
  55. end
  56. end
  57. end
  58. end
  59. end
  60. end
  61. target 'FDLBuilderTestAppObjC' do
  62. platform :ios, '8.0'
  63. pod 'FirebaseDynamicLinks', :path => '../'
  64. target 'FDLBuilderTestAppObjCEarlGrey' do
  65. inherit! :search_paths
  66. pod 'EarlGrey'
  67. end
  68. end
  69. target 'Messaging_Example_iOS' do
  70. platform :ios, '8.0'
  71. pod 'FirebaseMessaging' , :path => '../'
  72. target 'Messaging_Tests_iOS' do
  73. inherit! :search_paths
  74. pod 'OCMock'
  75. end
  76. end
  77. target 'Messaging_Sample_iOS' do
  78. platform :ios, '8.0'
  79. pod 'FirebaseMessaging' , :path => '../'
  80. end
  81. target 'Storage_Example_iOS' do
  82. platform :ios, '8.0'
  83. pod 'FirebaseStorage', :path => '../'
  84. target 'Storage_Tests_iOS' do
  85. inherit! :search_paths
  86. pod 'OCMock'
  87. end
  88. target 'Storage_IntegrationTests_iOS' do
  89. inherit! :search_paths
  90. end
  91. end
  92. target 'Auth_Sample' do
  93. platform :ios, '8.0'
  94. pod 'FirebaseAuth', :path => '../'
  95. pod 'FirebaseCore', :path => '../'
  96. pod 'FBSDKLoginKit'
  97. pod 'GoogleSignIn'
  98. pod 'FirebaseInstanceID'
  99. pod 'GTMSessionFetcher/Core'
  100. target 'Auth_ApiTests' do
  101. inherit! :search_paths
  102. end
  103. target 'Auth_EarlGreyTests' do
  104. inherit! :search_paths
  105. pod 'EarlGrey'
  106. end
  107. end
  108. target 'Core_Example_macOS' do
  109. platform :osx, '10.10'
  110. pod 'FirebaseCore', :path => '../'
  111. target 'Core_Tests_macOS' do
  112. inherit! :search_paths
  113. pod 'OCMock'
  114. end
  115. end
  116. target 'Auth_Example_macOS' do
  117. platform :osx, '10.10'
  118. pod 'FirebaseAuth', :path => '../'
  119. target 'Auth_Tests_macOS' do
  120. inherit! :search_paths
  121. pod 'OCMock'
  122. end
  123. end
  124. target 'Database_Example_macOS' do
  125. platform :osx, '10.10'
  126. pod 'FirebaseDatabase', :path => '../'
  127. target 'Database_Tests_macOS' do
  128. inherit! :search_paths
  129. end
  130. target 'Database_IntegrationTests_macOS' do
  131. inherit! :search_paths
  132. end
  133. end
  134. target 'Storage_Example_macOS' do
  135. platform :osx, '10.10'
  136. pod 'FirebaseStorage', :path => '../'
  137. target 'Storage_Tests_macOS' do
  138. inherit! :search_paths
  139. pod 'OCMock'
  140. end
  141. target 'Storage_IntegrationTests_macOS' do
  142. inherit! :search_paths
  143. end
  144. end
  145. target 'Core_Example_tvOS' do
  146. platform :tvos, '10.0'
  147. target 'Core_Tests_tvOS' do
  148. inherit! :search_paths
  149. pod 'OCMock'
  150. end
  151. end
  152. target 'Auth_Example_tvOS' do
  153. platform :tvos, '10.0'
  154. pod 'FirebaseAuth', :path => '../'
  155. target 'Auth_Tests_tvOS' do
  156. inherit! :search_paths
  157. pod 'OCMock'
  158. end
  159. end
  160. target 'Database_Example_tvOS' do
  161. platform :tvos, '10.0'
  162. pod 'FirebaseDatabase', :path => '../'
  163. target 'Database_Tests_tvOS' do
  164. inherit! :search_paths
  165. end
  166. # TODO
  167. # target 'Database_IntegrationTests_tvOS' do
  168. # inherit! :search_paths
  169. # end
  170. end
  171. target 'Storage_Example_tvOS' do
  172. platform :tvos, '10.0'
  173. pod 'FirebaseStorage', :path => '../'
  174. target 'Storage_Tests_tvOS' do
  175. inherit! :search_paths
  176. pod 'OCMock'
  177. end
  178. #TODO Storage_IntegrationTests_tvOS
  179. # target 'Storage_IntegrationTests_tvOS' do
  180. # inherit! :search_paths
  181. # end
  182. end