Skip to content

Commit

Permalink
Fix build process for react-native-fbsdk libraries.
Browse files Browse the repository at this point in the history
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 facebook#3248

Reviewed By: @​svcscm

Differential Revision: D2528021

Pulled By: @vjeux

fb-gh-sync-id: 4ea76eac4035f0bd7c5894f604f84f903714a4e3
  • Loading branch information
mchinyakov authored and facebook-github-bot-7 committed Oct 9, 2015
1 parent 17da325 commit aa8ead7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion React.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit aa8ead7

Please sign in to comment.