Podfile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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.15.990'
  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 'Auth_SwiftSample' do
  109. platform :ios, '8.0'
  110. pod 'FirebaseAuth', :path => '../'
  111. pod 'FirebaseCore', :path => '../'
  112. pod 'GoogleSignIn'
  113. pod 'FirebaseInstanceID'
  114. end
  115. target 'Core_Example_macOS' do
  116. platform :osx, '10.10'
  117. pod 'FirebaseCore', :path => '../'
  118. target 'Core_Tests_macOS' do
  119. inherit! :search_paths
  120. pod 'OCMock'
  121. end
  122. end
  123. target 'Auth_Example_macOS' do
  124. platform :osx, '10.10'
  125. pod 'FirebaseAuth', :path => '../'
  126. target 'Auth_Tests_macOS' do
  127. inherit! :search_paths
  128. pod 'OCMock'
  129. end
  130. end
  131. target 'Database_Example_macOS' do
  132. platform :osx, '10.10'
  133. pod 'FirebaseDatabase', :path => '../'
  134. target 'Database_Tests_macOS' do
  135. inherit! :search_paths
  136. end
  137. target 'Database_IntegrationTests_macOS' do
  138. inherit! :search_paths
  139. end
  140. end
  141. target 'Storage_Example_macOS' do
  142. platform :osx, '10.10'
  143. pod 'FirebaseStorage', :path => '../'
  144. target 'Storage_Tests_macOS' do
  145. inherit! :search_paths
  146. pod 'OCMock'
  147. end
  148. target 'Storage_IntegrationTests_macOS' do
  149. inherit! :search_paths
  150. end
  151. end
  152. target 'Core_Example_tvOS' do
  153. platform :tvos, '10.0'
  154. target 'Core_Tests_tvOS' do
  155. inherit! :search_paths
  156. pod 'OCMock'
  157. end
  158. end
  159. target 'Auth_Example_tvOS' do
  160. platform :tvos, '10.0'
  161. pod 'FirebaseAuth', :path => '../'
  162. target 'Auth_Tests_tvOS' do
  163. inherit! :search_paths
  164. pod 'OCMock'
  165. end
  166. end
  167. target 'Database_Example_tvOS' do
  168. platform :tvos, '10.0'
  169. pod 'FirebaseDatabase', :path => '../'
  170. target 'Database_Tests_tvOS' do
  171. inherit! :search_paths
  172. end
  173. # TODO
  174. # target 'Database_IntegrationTests_tvOS' do
  175. # inherit! :search_paths
  176. # end
  177. end
  178. target 'Storage_Example_tvOS' do
  179. platform :tvos, '10.0'
  180. pod 'FirebaseStorage', :path => '../'
  181. target 'Storage_Tests_tvOS' do
  182. inherit! :search_paths
  183. pod 'OCMock'
  184. end
  185. #TODO Storage_IntegrationTests_tvOS
  186. # target 'Storage_IntegrationTests_tvOS' do
  187. # inherit! :search_paths
  188. # end
  189. end