Merge pull request #427 from JackThomson2/master

Updated docs to fix duplication issue
This commit is contained in:
Michael Diarmid 2017-09-20 21:27:21 +01:00 committed by GitHub
commit 80beb04dce
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`.