From aa2d613cfa760b4570ae659c5efa4620308807ce Mon Sep 17 00:00:00 2001 From: Kesha Antonov Date: Tue, 9 Jan 2024 06:59:09 -0800 Subject: [PATCH] Update Yoga.podspec: fixes archiving for macos catalyst on react-native 0.73.1 in xcode (#42159) Summary: Hi When I tried to archive macos catalyst app in Xcode I got error: Screenshot 2024-01-06 at 18 02 07 Screenshot 2024-01-06 at 18 02 40 This PR fixes archiving ## Changelog: [IOS] [FIXED] - fixed archiving for macos catalyst on react-native 0.73.1 in xcode Pull Request resolved: https://github.com/facebook/react-native/pull/42159 Test Plan: Try archive react-native tester app for macos catalyst in Xcode Reviewed By: christophpurrer Differential Revision: D52624342 Pulled By: arushikesarwani94 fbshipit-source-id: 21b9b3568986f63f169f11cedc6cea2237d3e2c5 --- packages/react-native/ReactCommon/yoga/Yoga.podspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/yoga/Yoga.podspec b/packages/react-native/ReactCommon/yoga/Yoga.podspec index a84876951aa67c..634fcbe88afef1 100644 --- a/packages/react-native/ReactCommon/yoga/Yoga.podspec +++ b/packages/react-native/ReactCommon/yoga/Yoga.podspec @@ -31,7 +31,8 @@ Pod::Spec.new do |spec| spec.header_dir = 'yoga' spec.requires_arc = false spec.pod_target_xcconfig = { - 'DEFINES_MODULE' => 'YES' + 'DEFINES_MODULE' => 'YES', + 'HEADER_SEARCH_PATHS' => ['$(inherited)', '${PODS_ROOT}/../../node_modules/react-native/ReactCommon/yoga'] } spec.compiler_flags = [ '-fno-omit-frame-pointer',