From e43c061e95d3da22b5876f06eee21225abce48f1 Mon Sep 17 00:00:00 2001 From: Steffen Matthischke Date: Wed, 12 Jul 2017 16:22:20 -0700 Subject: [PATCH] Podspec: add required "DevSupport" dependency "InspectorInterfaces.{cpp,h} Summary: This PR fixes #14975. * Podspec: add InspectorInterfaces.h/cpp to the "jschelpers_legacy" subspec. 1. lint the Podspecs: `./scripts/process-podspecs.sh` 2. check that an iOS project can integrate "DevSupport" via Cocoapods again. I'll already checked it on this branch of the demo project: https://github.com/HeEAaD/Demo-ReactNative-0.47.0-rc2-Podspec-issue/tree/fix Closes https://github.com/facebook/react-native/pull/14988 Differential Revision: D5411733 Pulled By: javache fbshipit-source-id: bb46cf3461e0857c7508264dafa204067af182c6 --- React.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React.podspec b/React.podspec index e53b0af56..c254b35c5 100644 --- a/React.podspec +++ b/React.podspec @@ -87,8 +87,8 @@ Pod::Spec.new do |s| end s.subspec "jschelpers_legacy" do |ss| - ss.source_files = "ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.{cpp,h}", "ReactCommon/jschelpers/systemJSCWrapper.cpp" - ss.private_header_files = "ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.h" + ss.source_files = "ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper,InspectorInterfaces}.{cpp,h}", "ReactCommon/jschelpers/systemJSCWrapper.cpp" + ss.private_header_files = "ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper,InspectorInterfaces}.h" ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" } ss.framework = "JavaScriptCore" end