Podfile 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. use_frameworks!
  2. pod 'FirebaseCore', :path => '../'
  3. target 'Core_Example_iOS' do
  4. platform :ios, '8.0'
  5. # The next line is the forcing function for the Firebase pod. The Firebase
  6. # version's subspecs should depend on the component versions in their
  7. # corresponding podspec's.
  8. pod 'Firebase/Core', '4.8.0'
  9. target 'Core_Tests_iOS' do
  10. inherit! :search_paths
  11. pod 'OCMock'
  12. end
  13. target 'Analytics_Tests_iOS' do
  14. inherit! :search_paths
  15. pod 'FirebaseAnalytics'
  16. end
  17. end
  18. target 'Auth_Example_iOS' do
  19. platform :ios, '8.0'
  20. pod 'FirebaseAuth', :path => '../'
  21. target 'Auth_Tests_iOS' do
  22. inherit! :search_paths
  23. pod 'OCMock'
  24. end
  25. end
  26. target 'Database_Example_iOS' do
  27. platform :ios, '8.0'
  28. pod 'FirebaseDatabase', :path => '../'
  29. target 'Database_Tests_iOS' do
  30. inherit! :search_paths
  31. pod 'OCMock'
  32. end
  33. target 'Database_IntegrationTests_iOS' do
  34. inherit! :search_paths
  35. pod 'OCMock'
  36. end
  37. end
  38. target 'Messaging_Example_iOS' do
  39. platform :ios, '8.0'
  40. pod 'FirebaseMessaging' , :path => '../'
  41. pod 'FirebaseInstanceID'
  42. target 'Messaging_Tests_iOS' do
  43. inherit! :search_paths
  44. pod 'OCMock'
  45. end
  46. end
  47. target 'Storage_Example_iOS' do
  48. platform :ios, '8.0'
  49. pod 'FirebaseStorage', :path => '../'
  50. target 'Storage_Tests_iOS' do
  51. inherit! :search_paths
  52. pod 'OCMock'
  53. end
  54. target 'Storage_IntegrationTests_iOS' do
  55. inherit! :search_paths
  56. pod 'OCMock'
  57. end
  58. end
  59. target 'Auth_Sample' do
  60. platform :ios, '8.0'
  61. pod 'FirebaseAuth', :path => '../'
  62. pod 'FirebaseCore', :path => '../'
  63. pod 'FBSDKLoginKit'
  64. pod 'GoogleSignIn'
  65. pod 'FirebaseInstanceID'
  66. pod 'GTMSessionFetcher/Core'
  67. target 'Auth_ApiTests' do
  68. inherit! :search_paths
  69. end
  70. target 'Auth_EarlGreyTests' do
  71. inherit! :search_paths
  72. pod 'EarlGrey'
  73. end
  74. end
  75. target 'Auth_SwiftSample' do
  76. platform :ios, '8.0'
  77. pod 'FirebaseAuth', :path => '../'
  78. pod 'FirebaseCore', :path => '../'
  79. pod 'GoogleSignIn'
  80. pod 'FirebaseInstanceID'
  81. end
  82. target 'Core_Example_macOS' do
  83. platform :osx, '10.10'
  84. pod 'FirebaseCore', :path => '../'
  85. target 'Core_Tests_macOS' do
  86. inherit! :search_paths
  87. pod 'OCMock'
  88. end
  89. end
  90. target 'Auth_Example_macOS' do
  91. platform :osx, '10.10'
  92. pod 'FirebaseAuth', :path => '../'
  93. target 'Auth_Tests_macOS' do
  94. inherit! :search_paths
  95. pod 'OCMock'
  96. end
  97. end
  98. target 'Database_Example_macOS' do
  99. platform :osx, '10.10'
  100. pod 'FirebaseDatabase', :path => '../'
  101. target 'Database_Tests_macOS' do
  102. inherit! :search_paths
  103. pod 'OCMock'
  104. end
  105. target 'Database_IntegrationTests_macOS' do
  106. inherit! :search_paths
  107. pod 'OCMock'
  108. end
  109. end
  110. target 'Storage_Example_macOS' do
  111. platform :osx, '10.10'
  112. pod 'FirebaseStorage', :path => '../'
  113. target 'Storage_Tests_macOS' do
  114. inherit! :search_paths
  115. pod 'OCMock'
  116. end
  117. target 'Storage_IntegrationTests_macOS' do
  118. inherit! :search_paths
  119. pod 'OCMock'
  120. end
  121. end
  122. # This post_install workaround should be removed when FirebaseAnalytics
  123. # removes its module includes to FirebaseCore.
  124. post_install do | installer |
  125. print "Fix up FirebaseAnalytics module ... \n"
  126. system 'cp ../patch/FirebaseAnalytics.h Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/'
  127. end