From 4b6c9f983644998857af7141b3c1ebaa98052457 Mon Sep 17 00:00:00 2001 From: Adrian Stein Date: Tue, 8 Dec 2020 10:53:40 +1000 Subject: [PATCH] Fix Xcode 12 compatibility Compilation fails on Xcode 12 with `Undefined symbols for architecture` errors, due to the React dependency in the podspec. See the react-native issue here - https://github.com/facebook/react-native/issues/29633#issuecomment-694187116 --- RNDefaultPreference.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNDefaultPreference.podspec b/RNDefaultPreference.podspec index eef2a5a..7ee8a55 100644 --- a/RNDefaultPreference.podspec +++ b/RNDefaultPreference.podspec @@ -18,5 +18,5 @@ Pod::Spec.new do |s| s.source_files = 'iOS/*.{h,m}' s.source = { :git => 'https://github.com/kevinresol/react-native-default-preference.git' } - s.dependency 'React' + s.dependency 'React-Core' end