Podfile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. # Uncomment the next two lines for pre-release testing
  2. #source 'sso://cpdc-internal/spec'
  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.10.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. pod 'OCMock'
  34. end
  35. target 'Database_IntegrationTests_iOS' do
  36. inherit! :search_paths
  37. pod 'OCMock'
  38. end
  39. end
  40. target 'DynamicLinks_Example_iOS' do
  41. platform :ios, '8.0'
  42. pod 'FirebaseDynamicLinks', :path => '../'
  43. target 'DynamicLinks_Tests_iOS' do
  44. inherit! :search_paths
  45. pod 'OCMock'
  46. pod 'GoogleUtilities/MethodSwizzler', :path => '../'
  47. pod 'GoogleUtilities/SwizzlerTestHelpers', :path => '../'
  48. # Set define to turn on the unswizzler for the unit tests
  49. post_install do |installer_representation|
  50. installer_representation.pods_project.targets.each do |target|
  51. target.build_configurations.each do |config|
  52. if config.name != 'Release'
  53. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'GUL_UNSWIZZLING_ENABLED=1']
  54. end
  55. end
  56. end
  57. end
  58. end
  59. end
  60. target 'FDLBuilderTestAppObjC' do
  61. platform :ios, '8.0'
  62. pod 'FirebaseDynamicLinks', :path => '../'
  63. target 'FDLBuilderTestAppObjCEarlGrey' do
  64. inherit! :search_paths
  65. pod 'EarlGrey'
  66. end
  67. end
  68. target 'Messaging_Example_iOS' do
  69. platform :ios, '8.0'
  70. pod 'FirebaseMessaging' , :path => '../'
  71. target 'Messaging_Tests_iOS' do
  72. inherit! :search_paths
  73. pod 'OCMock'
  74. end
  75. end
  76. target 'Messaging_Sample_iOS' do
  77. platform :ios, '8.0'
  78. pod 'FirebaseMessaging' , :path => '../'
  79. end
  80. target 'Storage_Example_iOS' do
  81. platform :ios, '8.0'
  82. pod 'FirebaseStorage', :path => '../'
  83. target 'Storage_Tests_iOS' do
  84. inherit! :search_paths
  85. pod 'OCMock'
  86. end
  87. target 'Storage_IntegrationTests_iOS' do
  88. inherit! :search_paths
  89. pod 'OCMock'
  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. pod 'OCMock'
  137. end
  138. target 'Database_IntegrationTests_macOS' do
  139. inherit! :search_paths
  140. pod 'OCMock'
  141. end
  142. end
  143. target 'Storage_Example_macOS' do
  144. platform :osx, '10.10'
  145. pod 'FirebaseStorage', :path => '../'
  146. target 'Storage_Tests_macOS' do
  147. inherit! :search_paths
  148. pod 'OCMock'
  149. end
  150. target 'Storage_IntegrationTests_macOS' do
  151. inherit! :search_paths
  152. pod 'OCMock'
  153. end
  154. end
  155. target 'Core_Example_tvOS' do
  156. platform :tvos, '10.0'
  157. target 'Core_Tests_tvOS' do
  158. inherit! :search_paths
  159. pod 'OCMock'
  160. end
  161. end
  162. target 'Auth_Example_tvOS' do
  163. platform :tvos, '10.0'
  164. pod 'FirebaseAuth', :path => '../'
  165. target 'Auth_Tests_tvOS' do
  166. inherit! :search_paths
  167. pod 'OCMock'
  168. end
  169. end
  170. target 'Database_Example_tvOS' do
  171. platform :tvos, '10.0'
  172. pod 'FirebaseDatabase', :path => '../'
  173. target 'Database_Tests_tvOS' do
  174. inherit! :search_paths
  175. pod 'OCMock'
  176. end
  177. # TODO
  178. # target 'Database_IntegrationTests_tvOS' do
  179. # inherit! :search_paths
  180. # pod 'OCMock'
  181. # end
  182. end
  183. target 'Storage_Example_tvOS' do
  184. platform :tvos, '10.0'
  185. pod 'FirebaseStorage', :path => '../'
  186. target 'Storage_Tests_tvOS' do
  187. inherit! :search_paths
  188. pod 'OCMock'
  189. end
  190. #TODO Storage_IntegrationTests_tvOS
  191. # target 'Storage_IntegrationTests_tvOS' do
  192. # inherit! :search_paths
  193. # pod 'OCMock'
  194. # end
  195. end