Fix build process for react-native-fbsdk libraries.

Summary: I found the problem with building react-native-fbsdk (https://github.com/facebook/react-native-fbsdk) libraries when I used cocoapods.
When we use the option 'header_mappings_dir = "."' , header files of React will be copied with subfolders structures, not into one folder "${PODS_ROOT}/Headers/Public/React". And we should add recursive search and write "${PODS_ROOT}/Headers/Public/React/**". However writing code in auto-generated files is not good idea.
Closes https://github.com/facebook/react-native/pull/3248

Reviewed By: @​svcscm

Differential Revision: D2528021

Pulled By: @vjeux

fb-gh-sync-id: 4ea76eac4035f0bd7c5894f604f84f903714a4e3
This commit is contained in:
Mikhail Chinyakov 2015-10-09 14:38:27 -07:00 committed by facebook-github-bot-7
parent 17da325bb4
commit aa8ead7cd6
1 changed files with 0 additions and 1 deletions

View File

@ -24,7 +24,6 @@ Pod::Spec.new do |s|
s.platform = :ios, "7.0"
s.prepare_command = 'npm install --production'
s.preserve_paths = "cli.js", "Libraries/**/*.js", "lint", "linter.js", "node_modules", "package.json", "packager", "PATENTS", "react-native-cli"
s.header_mappings_dir = "."
s.subspec 'Core' do |ss|
ss.source_files = "React/**/*.{c,h,m}"