From f80c7cca356f56d9bc319b6062e9d17e3d308c73 Mon Sep 17 00:00:00 2001 From: Brett-Best Date: Tue, 28 May 2024 19:21:20 +1000 Subject: [PATCH] fix: updated `RNScreens.podspec` to exclude C++ headers from public header files --- RNScreens.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/RNScreens.podspec b/RNScreens.podspec index da0170ef93..fccadeaae7 100644 --- a/RNScreens.podspec +++ b/RNScreens.podspec @@ -63,6 +63,7 @@ Pod::Spec.new do |s| s.platforms = { :ios => platform, :tvos => "11.0", :visionos => "1.0" } s.source = { :git => "https://github.com/software-mansion/react-native-screens.git", :tag => "#{s.version}" } s.source_files = source_files + s.project_header_files = "cpp/**/*.h" # Don't expose C++ headers publicly to allow importing framework into Swift files s.requires_arc = true if defined?(install_modules_dependencies()) != nil