0
RN教程GitHub的項目看起來像這樣, 陣營本地人,吊艙安裝不安裝subspecs
而我的只有Core
我試圖rm -rf Pods && rm -rf "${HOME}/Library/Caches/CocoaPods"
和pod install
RN教程GitHub的項目看起來像這樣, 陣營本地人,吊艙安裝不安裝subspecs
而我的只有Core
我試圖rm -rf Pods && rm -rf "${HOME}/Library/Caches/CocoaPods"
和pod install
通過遵循React Native指南,我能夠從一個全新的快速項目中獲得安裝的子規格210這樣的pod文件:
target 'testpods' do
# Your 'node_modules' directory is probably in the root of your project,
# but if not, adjust the `:path` accordingly
pod 'React', :path => './node_modules/react-native', :subspecs => [
'Core',
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # needed for debugging
# Add any other subspecs you want to use in your project
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod "Yoga", :path => "./node_modules/react-native/ReactCommon/yoga"
end