From aaeffdb49a8412a98bb52477933fd208d1dcc096 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Tue, 8 Sep 2020 12:53:31 -0700 Subject: [PATCH] Fix "'RCTBlobPlugins.h' file not found" on iOS (#29684) Summary: Fixes iOS builds failing with the following error in certain setups: ``` /~/Pods/React-RCTBlob/Libraries/Blob/RCTBlobPlugins.mm:14:9: fatal error: 'RCTBlobPlugins.h' file not found #import "RCTBlobPlugins.h" ^~~~~~~~~~~~~~~~~~ 1 error generated. ``` ## Changelog [iOS] [Fixed] - "'RCTBlobPlugins.h' file not found" when building iOS Pull Request resolved: https://github.com/facebook/react-native/pull/29684 Test Plan: - Existing builds should not fail - Tested this change internally where we are seeing this build failure cc hramos Reviewed By: fkgozali Differential Revision: D23581090 Pulled By: appden fbshipit-source-id: 89d2088c362bfbd22df5cd098b110a43d76e784f --- Libraries/Blob/React-RCTBlob.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Blob/React-RCTBlob.podspec b/Libraries/Blob/React-RCTBlob.podspec index 3d987644290..045cf27ab9d 100644 --- a/Libraries/Blob/React-RCTBlob.podspec +++ b/Libraries/Blob/React-RCTBlob.podspec @@ -29,7 +29,7 @@ Pod::Spec.new do |s| s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source - s.source_files = "*.{m,mm}" + s.source_files = "*.{h,m,mm}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" s.header_dir = "RCTBlob" s.pod_target_xcconfig = {