diff --git a/packages/react-native/ReactCommon/jsinspector-modern/cdp/CMakeLists.txt b/packages/react-native/ReactCommon/jsinspector-modern/cdp/CMakeLists.txt index 0931f76246f..43c0637dbf8 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/cdp/CMakeLists.txt +++ b/packages/react-native/ReactCommon/jsinspector-modern/cdp/CMakeLists.txt @@ -23,4 +23,5 @@ target_include_directories(jsinspector_cdp PUBLIC ${REACT_COMMON_DIR}) target_link_libraries(jsinspector_cdp folly_runtime + react_cxxstableapi ) diff --git a/packages/react-native/ReactCommon/jsinspector-modern/cdp/CdpJson.h b/packages/react-native/ReactCommon/jsinspector-modern/cdp/CdpJson.h index 89576d96295..6a0fd5cc696 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/cdp/CdpJson.h +++ b/packages/react-native/ReactCommon/jsinspector-modern/cdp/CdpJson.h @@ -7,6 +7,8 @@ #pragma once +#include + #include #include #include diff --git a/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec b/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec index 8a7eaf0496d..238487ff4ca 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec +++ b/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec @@ -46,5 +46,7 @@ Pod::Spec.new do |s| add_rn_third_party_dependencies(s) add_rncore_dependency(s) + s.dependency "React-cxxstableapi" + mark_as_react_native_build(s) end