From 8b6ab1b67a6bcb7c6e412573ceadae80f25fb956 Mon Sep 17 00:00:00 2001 From: Brian Kraus Date: Tue, 12 Oct 2021 16:03:56 -0600 Subject: [PATCH] Update podspec to allow auto-linking for RN https://github.com/facebook/react-native/issues/25553#issuecomment-509534090 Referencing from this comment, the fix is to update the: `s.dependency 'React'` to `s.dependency 'React-Core` to make everything auto-link properly in iOS. All react-native libraries with native iOS code should be doing this to keep up to date with the requirements in react-native 60 and up. --- RNSha256.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNSha256.podspec b/RNSha256.podspec index 3fb9e6f..2fdd3d2 100644 --- a/RNSha256.podspec +++ b/RNSha256.podspec @@ -17,5 +17,5 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,swift}" s.preserve_paths = "**/*.js" - s.dependency 'React' -end \ No newline at end of file + s.dependency 'React-Core' +end