From ea0e826c2804f0c775030e76776fb3ac22978fda Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Fri, 19 Jan 2024 02:01:11 -0800 Subject: [PATCH] iOS Add React-debug to ReactCommon.podspec (#42376) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42376 Changelog: [IOS] [FIXED] - iOS Add React-debug to ReactCommon.podspec Fixes the CocoaPod build broken due to: https://github.com/facebook/react-native/commit/dd5474f1e96e1c1e2f00ba3655ef86590d39b0fd Reviewed By: philIip, cipolleschi Differential Revision: D52899067 fbshipit-source-id: 8337df1602a030e26fcb560fe5c0eb34a9934e6e --- packages/react-native/ReactCommon/ReactCommon.podspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactCommon/ReactCommon.podspec b/packages/react-native/ReactCommon/ReactCommon.podspec index 5f99bef62958f8..a5ec52d2cf1dc0 100644 --- a/packages/react-native/ReactCommon/ReactCommon.podspec +++ b/packages/react-native/ReactCommon/ReactCommon.podspec @@ -71,6 +71,8 @@ Pod::Spec.new do |s| ss.subspec "core" do |sss| sss.source_files = "react/nativemodule/core/ReactCommon/**/*.{cpp,h}" + sss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_CONFIGURATION_BUILD_DIR)/React-debug/React_debug.framework/Headers\"" } + sss.dependency "React-debug", version end end end