From 00458637da8473bd58e10c7e5a06be1d7ca8559d Mon Sep 17 00:00:00 2001 From: Ruslan Shestopalyuk Date: Mon, 3 Oct 2022 09:42:45 -0700 Subject: [PATCH] Add Mapbuffer module to podspec (#34847) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34847 This fixes a missing intra-module dependency inside RN renderer core. Changelog: [iOS][Fixed] - Add missing react/renderer/mapbuffer module to podspec Reviewed By: dmytrorykun Differential Revision: D40020363 fbshipit-source-id: 5e9f3baab76536f1689f0aa5750fdb5a44d28942 --- ReactCommon/React-Fabric.podspec | 9 +++++++++ packages/rn-tester/Podfile.lock | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ReactCommon/React-Fabric.podspec b/ReactCommon/React-Fabric.podspec index 361c24df8ed41c..9c9d693487598d 100644 --- a/ReactCommon/React-Fabric.podspec +++ b/ReactCommon/React-Fabric.podspec @@ -252,6 +252,15 @@ Pod::Spec.new do |s| ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/RCT-Folly\"" } end + s.subspec "mapbuffer" do |ss| + ss.dependency folly_dep_name, folly_version + ss.compiler_flags = folly_compiler_flags + ss.source_files = "react/renderer/mapbuffer/**/*.{m,mm,cpp,h}" + ss.exclude_files = "react/renderer/mapbuffer/tests" + ss.header_dir = "react/renderer/mapbuffer" + ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/RCT-Folly\"" } + end + s.subspec "mounting" do |ss| ss.dependency folly_dep_name, folly_version ss.compiler_flags = folly_compiler_flags diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index fc36e9a1a7ce40..564818c313b8c3 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -295,6 +295,7 @@ PODS: - React-Fabric/debug_renderer (= 1000.0.0) - React-Fabric/imagemanager (= 1000.0.0) - React-Fabric/leakchecker (= 1000.0.0) + - React-Fabric/mapbuffer (= 1000.0.0) - React-Fabric/mounting (= 1000.0.0) - React-Fabric/runtimescheduler (= 1000.0.0) - React-Fabric/scheduler (= 1000.0.0) @@ -522,6 +523,14 @@ PODS: - React-jsi (= 1000.0.0) - React-jsiexecutor (= 1000.0.0) - ReactCommon/turbomodule/core (= 1000.0.0) + - React-Fabric/mapbuffer (1000.0.0): + - RCT-Folly/Fabric (= 2021.07.22.00) + - RCTRequired (= 1000.0.0) + - RCTTypeSafety (= 1000.0.0) + - React-graphics (= 1000.0.0) + - React-jsi (= 1000.0.0) + - React-jsiexecutor (= 1000.0.0) + - ReactCommon/turbomodule/core (= 1000.0.0) - React-Fabric/mounting (1000.0.0): - RCT-Folly/Fabric (= 2021.07.22.00) - RCTRequired (= 1000.0.0) @@ -924,7 +933,7 @@ SPEC CHECKSUMS: React-Core: ce4282fb714ffbe444b84d296d1728eaee4d0e9f React-CoreModules: 675170bccf156da3a3348e04e2036ce401b2010d React-cxxreact: 7276467c246302fedf598cc40d7003896ddb20ba - React-Fabric: b49c8e76c926b5b6b708802759b27dd6e02bb4bc + React-Fabric: a696c92be541f2015b9777956a3e7df8a8f34aed React-graphics: 5ccc9cc0d91794fd42bc1c693e9aea207554bbef React-jsi: a042596cb558abea721ab5e23cb175647610a73d React-jsiexecutor: f7fbac5dff7e7ff110a66edf2626b4f4f4600ef5