对于椰壳类动物,建议的反应型天然样板是否必要?

时间:2019-05-28 21:34:50

标签: ios xcode react-native cocoapods

因此,在我的阅读中经常建议最小的本机Podfile看起来像这样:

target 'App' do

  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', # Include this for RN >= 0.47
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', # Needed for debugging
    'RCTAnimation', # Needed for FlatList and animations running on native UI thread
  ]


  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

end

React块中,我还看到了更多子荚。

另一方面,我有一个看起来像这样的Podfile:

target 'App' do

    pod 'Firebase/Analytics'

end 

我的应用程序编译正常。

所以我想知道,为什么在我的基本xcode项目中已经包含和链接了Reactyoga等之后?

0 个答案:

没有答案