From f71d7d7281eb66daddd5488f102c8089ecb0cd25 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Wed, 5 Jun 2024 03:25:01 -0700 Subject: [PATCH] Exclude windows from React-Fabric Summary: ## Changelog: [Internal] - Exclude the windows folder from View in React-Fabric podspec ## Facebook: The `platforms/windows` folder is internal only, not synched with OSS. However, the C++ linking was picking up some files from that folder when running RNTester on iOS using the OSS pipeline. bypass-github-export-checks Reviewed By: dmytrorykun Differential Revision: D58182437 fbshipit-source-id: 5397fadbe96d5c2c7980fbf5e74ffab7b237b912 --- packages/react-native/ReactCommon/React-Fabric.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/React-Fabric.podspec b/packages/react-native/ReactCommon/React-Fabric.podspec index 4cfba7c48ef10c..5d925445a3ff38 100644 --- a/packages/react-native/ReactCommon/React-Fabric.podspec +++ b/packages/react-native/ReactCommon/React-Fabric.podspec @@ -143,7 +143,7 @@ Pod::Spec.new do |s| sss.dependency "Yoga" sss.compiler_flags = folly_compiler_flags sss.source_files = "react/renderer/components/view/**/*.{m,mm,cpp,h}" - sss.exclude_files = "react/renderer/components/view/tests", "react/renderer/components/view/platform/android" + sss.exclude_files = "react/renderer/components/view/tests", "react/renderer/components/view/platform/android", "react/renderer/components/view/platform/windows" sss.header_dir = "react/renderer/components/view" sss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/Headers/Private/Yoga\"" } end