Podfile 4.8 KB

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