Skip to content

Commit 9b43636

Browse files
committed
[podspec] Define pod_target_xcconfig for PrivateDatabase
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.
1 parent e33688e commit 9b43636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

React.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Pod::Spec.new do |s|
120120
s.subspec "PrivateDatabase" do |ss|
121121
ss.source_files = "ReactCommon/privatedata/*.{cpp,h}"
122122
ss.private_header_files = "ReactCommon/privatedata/*.h"
123+
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
123124
end
124125

125126
s.subspec "cxxreact" do |ss|

0 commit comments

Comments
 (0)