Podfile 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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.19.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 'InstanceID_Example_iOS' do
  70. platform :ios, '8.0'
  71. pod 'FirebaseInstanceID' , :path => '../'
  72. target 'InstanceID_Tests_iOS' do
  73. inherit! :search_paths
  74. pod 'OCMock'
  75. end
  76. end
  77. target 'Messaging_Example_iOS' do
  78. platform :ios, '8.0'
  79. pod 'FirebaseMessaging' , :path => '../'
  80. target 'Messaging_Tests_iOS' do
  81. inherit! :search_paths
  82. pod 'OCMock'
  83. end
  84. end
  85. target 'Messaging_Sample_iOS' do
  86. platform :ios, '8.0'
  87. pod 'FirebaseMessaging' , :path => '../'
  88. end
  89. target 'Storage_Example_iOS' do
  90. platform :ios, '8.0'
  91. pod 'FirebaseStorage', :path => '../'
  92. target 'Storage_Tests_iOS' do
  93. inherit! :search_paths
  94. pod 'OCMock'
  95. end
  96. target 'Storage_IntegrationTests_iOS' do
  97. inherit! :search_paths
  98. end
  99. end
  100. target 'Auth_Sample' do
  101. platform :ios, '8.0'
  102. pod 'FirebaseAuth', :path => '../'
  103. pod 'FirebaseCore', :path => '../'
  104. pod 'FBSDKLoginKit'
  105. pod 'GoogleSignIn'
  106. pod 'FirebaseInstanceID', :path => '../'
  107. pod 'GTMSessionFetcher/Core'
  108. target 'Auth_ApiTests' do
  109. inherit! :search_paths
  110. end
  111. target 'Auth_E2eTests' do
  112. inherit! :search_paths
  113. pod 'EarlGrey'
  114. end
  115. end
  116. target 'Core_Example_macOS' do
  117. platform :osx, '10.10'
  118. pod 'FirebaseCore', :path => '../'
  119. target 'Core_Tests_macOS' do
  120. inherit! :search_paths
  121. pod 'OCMock'
  122. end
  123. end
  124. target 'Auth_Example_macOS' do
  125. platform :osx, '10.10'
  126. pod 'FirebaseAuth', :path => '../'
  127. target 'Auth_Tests_macOS' do
  128. inherit! :search_paths
  129. pod 'OCMock'
  130. end
  131. end
  132. target 'Database_Example_macOS' do
  133. platform :osx, '10.10'
  134. pod 'FirebaseDatabase', :path => '../'
  135. target 'Database_Tests_macOS' do
  136. inherit! :search_paths
  137. end
  138. target 'Database_IntegrationTests_macOS' do
  139. inherit! :search_paths
  140. end
  141. end
  142. target 'Storage_Example_macOS' do
  143. platform :osx, '10.10'
  144. pod 'FirebaseStorage', :path => '../'
  145. target 'Storage_Tests_macOS' do
  146. inherit! :search_paths
  147. pod 'OCMock'
  148. end
  149. target 'Storage_IntegrationTests_macOS' do
  150. inherit! :search_paths
  151. end
  152. end
  153. target 'Core_Example_tvOS' do
  154. platform :tvos, '10.0'
  155. target 'Core_Tests_tvOS' do
  156. inherit! :search_paths
  157. pod 'OCMock'
  158. end
  159. end
  160. target 'Auth_Example_tvOS' do
  161. platform :tvos, '10.0'
  162. pod 'FirebaseAuth', :path => '../'
  163. target 'Auth_Tests_tvOS' do
  164. inherit! :search_paths
  165. pod 'OCMock'
  166. end
  167. end
  168. target 'Database_Example_tvOS' do
  169. platform :tvos, '10.0'
  170. pod 'FirebaseDatabase', :path => '../'
  171. target 'Database_Tests_tvOS' do
  172. inherit! :search_paths
  173. end
  174. # TODO
  175. # target 'Database_IntegrationTests_tvOS' do
  176. # inherit! :search_paths
  177. # end
  178. end
  179. target 'Storage_Example_tvOS' do
  180. platform :tvos, '10.0'
  181. pod 'FirebaseStorage', :path => '../'
  182. target 'Storage_Tests_tvOS' do
  183. inherit! :search_paths
  184. pod 'OCMock'
  185. end
  186. #TODO Storage_IntegrationTests_tvOS
  187. # target 'Storage_IntegrationTests_tvOS' do
  188. # inherit! :search_paths
  189. # end
  190. end
  191. target 'Messaging_Example_tvOS' do
  192. platform :tvos, '10.0'
  193. pod 'FirebaseMessaging', :path => '../'
  194. target 'Messaging_Tests_tvOS' do
  195. inherit! :search_paths
  196. pod 'OCMock'
  197. end
  198. end
  199. target 'InstanceID_Example_tvOS' do
  200. platform :tvos, '10.0'
  201. pod 'FirebaseInstanceID', :path => '../'
  202. target 'InstanceID_Tests_tvOS' do
  203. inherit! :search_paths
  204. pod 'OCMock'
  205. end
  206. end