@@ -32,9 +32,27 @@ And that's it! Isn't RNPM awesome? :)
3232
3333#### Plugin Installation (iOS - CocoaPods)
3434
35- 1. Add the CodePush plugin dependency to your `Podfile`, pointing at the path where NPM installed it
35+ 1. Add the ReactNative and CodePush plugin dependencies to your `Podfile`, pointing at the path where NPM installed it
3636
37- ```ruby
37+ ```
38+ # React Native requirements
39+ pod 'React', :path => '../node_modules/react-native', :subspecs => [
40+ 'Core',
41+ 'CxxBridge', # Include this for RN >= 0.47
42+ 'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
43+ 'RCTText',
44+ 'RCTNetwork',
45+ 'RCTWebSocket', # Needed for debugging
46+ 'RCTAnimation', # Needed for FlatList and animations running on native UI thread
47+ # Add any other subspecs you want to use in your project
48+ ]
49+ # Explicitly include Yoga if you are using RN >= 0.42.0
50+ pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
51+ pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
52+ pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
53+ pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
54+
55+ # CodePush plugin dependency
3856 pod 'CodePush', :path => '../node_modules/react-native-code-push'
3957 ```
4058
0 commit comments