Нема описа

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. platform :ios, '9.0'
  2. require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  3. def add_flipper_pods!
  4. version = '~> 0.33.1'
  5. pod 'FlipperKit', version, :configuration => 'Debug'
  6. pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
  7. pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
  8. pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
  9. pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
  10. end
  11. # Post Install processing for Flipper
  12. def flipper_post_install(installer)
  13. installer.pods_project.targets.each do |target|
  14. if target.name == 'YogaKit'
  15. target.build_configurations.each do |config|
  16. config.build_settings['SWIFT_VERSION'] = '4.1'
  17. end
  18. end
  19. end
  20. end
  21. target 'demo' do
  22. # Pods for demo
  23. pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  24. pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  25. pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  26. pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  27. pod 'React', :path => '../node_modules/react-native/'
  28. pod 'React-Core', :path => '../node_modules/react-native/'
  29. pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  30. pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  31. pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  32. pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  33. pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  34. pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  35. pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  36. pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  37. pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  38. pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  39. pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  40. pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
  41. pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  42. pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  43. pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  44. pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  45. pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
  46. pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  47. pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
  48. pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  49. pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  50. pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  51. target 'demoTests' do
  52. inherit! :complete
  53. # Pods for testing
  54. end
  55. use_native_modules!
  56. # Enables Flipper.
  57. #
  58. # Note that if you have use_frameworks! enabled, Flipper will not work and
  59. # you should disable these next few lines.
  60. add_flipper_pods!
  61. post_install do |installer|
  62. flipper_post_install(installer)
  63. end
  64. end
  65. target 'demo-tvOS' do
  66. # Pods for demo-tvOS
  67. target 'demo-tvOSTests' do
  68. inherit! :search_paths
  69. # Pods for testing
  70. end
  71. end