Updated docs to fix duplication issue

This commit is contained in:
JackThomson2 2017-09-20 17:14:44 +01:00
parent 3d7071502f
commit fefa1d13f5
1 changed files with 10 additions and 0 deletions

View File

@ -83,6 +83,16 @@ pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
# Add any other subspecs you want to use in your project
]
#Also add this at the very bottom of your Podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
```
Run `pod install`.