Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

109 righe
5.3 KiB

  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 'mrpharman' do
  43. # Pods for mrpharman
  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. pod 'RNSearchBar', :path => '../node_modules/react-native-search-bar'
  73. pod 'rn-range-slider', :path => '../node_modules/rn-range-slider'
  74. target 'mrpharmanTests' do
  75. inherit! :complete
  76. # Pods for testing
  77. end
  78. use_native_modules!
  79. # Enables Flipper.
  80. #
  81. # Note that if you have use_frameworks! enabled, Flipper will not work and
  82. # you should disable these next few lines.
  83. add_flipper_pods!
  84. post_install do |installer|
  85. flipper_post_install(installer)
  86. end
  87. end
  88. target 'mrpharman-tvOS' do
  89. # Pods for mrpharman-tvOS
  90. target 'mrpharman-tvOSTests' do
  91. inherit! :search_paths
  92. # Pods for testing
  93. end
  94. end