Nenhuma descrição

Podfile 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. platform :ios, '9.0'
  2. require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  3. def add_flipper_pods!(versions = {})
  4. versions['Flipper'] ||= '~> 0.33.1'
  5. versions['DoubleConversion'] ||= '1.1.7'
  6. versions['Flipper-Folly'] ||= '~> 2.1'
  7. versions['Flipper-Glog'] ||= '0.3.6'
  8. versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
  9. versions['Flipper-RSocket'] ||= '~> 1.0'
  10. pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
  11. pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
  12. pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
  13. pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
  14. pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'
  15. # List all transitive dependencies for FlipperKit pods
  16. # to avoid them being linked in Release builds
  17. pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
  18. pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug'
  19. pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug'
  20. pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug'
  21. pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug'
  22. pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug'
  23. pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug'
  24. pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug'
  25. pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug'
  26. pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug'
  27. pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug'
  28. pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug'
  29. pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
  30. pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
  31. end
  32. # Post Install processing for Flipper
  33. def flipper_post_install(installer)
  34. installer.pods_project.targets.each do |target|
  35. if target.name == 'YogaKit'
  36. target.build_configurations.each do |config|
  37. config.build_settings['SWIFT_VERSION'] = '4.1'
  38. end
  39. end
  40. end
  41. end
  42. target 'demo' do
  43. # Pods for demo
  44. pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  45. pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  46. pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  47. pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  48. pod 'React', :path => '../node_modules/react-native/'
  49. pod 'React-Core', :path => '../node_modules/react-native/'
  50. pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  51. pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  52. pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  53. pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  54. pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  55. pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  56. pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  57. pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  58. pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  59. pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  60. pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  61. pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
  62. pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  63. pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  64. pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  65. pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  66. pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
  67. pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  68. pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
  69. pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  70. pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  71. pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  72. target 'demoTests' do
  73. inherit! :complete
  74. # Pods for testing
  75. end
  76. use_native_modules!
  77. # Enables Flipper.
  78. #
  79. # Note that if you have use_frameworks! enabled, Flipper will not work and
  80. # you should disable these next few lines.
  81. add_flipper_pods!
  82. post_install do |installer|
  83. flipper_post_install(installer)
  84. end
  85. end
  86. target 'demo-tvOS' do
  87. # Pods for demo-tvOS
  88. target 'demo-tvOSTests' do
  89. inherit! :search_paths
  90. # Pods for testing
  91. end
  92. end