8.1 iOS
Cocoapods with local path
Requirement : CocoaPods
After pod version > 1.0, you need to identify the target. Create 'Podfile' in project root folder :
target 'MyiOSApp' do
pod 'React', :path => '../../AwesomeProject/node_modules/react-native', :subspecs => [
'Core',
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket',
]
end
then pod install
原文: https://unbug.gitbooks.io/react-native-training/content/81_ios.html