From 38b96cd7bb391f64066a6c91daa4173db1f33445 Mon Sep 17 00:00:00 2001 From: James Ide Date: Sat, 4 Nov 2017 12:37:19 -0700 Subject: [PATCH] Define `pod_target_xcconfig` for PrivateDatabase Summary: We don't strictly need this since all the other subspecs that use this set up the header search path for ReactCommon anyway but do it just for correctness. Closes https://github.com/facebook/react-native/pull/16665 Differential Revision: D6241796 Pulled By: hramos fbshipit-source-id: 19e6363e570d38f06ea970395d68b9cea7fd02ae --- React.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/React.podspec b/React.podspec index cda367ec0..b4346aa9a 100644 --- a/React.podspec +++ b/React.podspec @@ -120,6 +120,7 @@ Pod::Spec.new do |s| s.subspec "PrivateDatabase" do |ss| ss.source_files = "ReactCommon/privatedata/*.{cpp,h}" ss.private_header_files = "ReactCommon/privatedata/*.h" + ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" } end s.subspec "cxxreact" do |ss|