From 4d964595669449485389909cf68c587cf274db84 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Thu, 17 Sep 2020 21:12:30 +0200 Subject: [PATCH] Podspec: Depend on React-Core instead of React --- packages/admob/RNFBAdMob.podspec | 2 +- packages/analytics/RNFBAnalytics.podspec | 2 +- packages/app/RNFBApp.podspec | 2 +- packages/auth/RNFBAuth.podspec | 2 +- packages/crashlytics/RNFBCrashlytics.podspec | 2 +- packages/database/RNFBDatabase.podspec | 2 +- packages/dynamic-links/RNFBDynamicLinks.podspec | 2 +- packages/firestore/RNFBFirestore.podspec | 2 +- packages/functions/RNFBFunctions.podspec | 2 +- packages/iid/RNFBIid.podspec | 2 +- packages/in-app-messaging/RNFBInAppMessaging.podspec | 2 +- packages/messaging/RNFBMessaging.podspec | 2 +- packages/ml-natural-language/RNFBMLNaturalLanguage.podspec | 2 +- packages/ml-vision/RNFBMLVision.podspec | 2 +- packages/perf/RNFBPerf.podspec | 2 +- packages/remote-config/RNFBRemoteConfig.podspec | 2 +- packages/storage/RNFBStorage.podspec | 2 +- scripts/_TEMPLATE_/RNFB_Template_.podspec | 2 +- scripts/_TEMPLATE_/ios/RNFB_Template_.podspec | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/admob/RNFBAdMob.podspec b/packages/admob/RNFBAdMob.podspec index 3c4f4cd7e3..0eca28412b 100644 --- a/packages/admob/RNFBAdMob.podspec +++ b/packages/admob/RNFBAdMob.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' # Other dependencies diff --git a/packages/analytics/RNFBAnalytics.podspec b/packages/analytics/RNFBAnalytics.podspec index b177f24b5e..0098c0efa2 100644 --- a/packages/analytics/RNFBAnalytics.podspec +++ b/packages/analytics/RNFBAnalytics.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/app/RNFBApp.podspec b/packages/app/RNFBApp.podspec index fe472e987c..9af3f9b4ea 100644 --- a/packages/app/RNFBApp.podspec +++ b/packages/app/RNFBApp.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m}" # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' if defined?($FirebaseSDKVersion) Pod::UI.puts "#{s.name}: Using user specified Firebase SDK version '#{$FirebaseSDKVersion}'" diff --git a/packages/auth/RNFBAuth.podspec b/packages/auth/RNFBAuth.podspec index a50a2145d4..a6cc16df7a 100644 --- a/packages/auth/RNFBAuth.podspec +++ b/packages/auth/RNFBAuth.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/crashlytics/RNFBCrashlytics.podspec b/packages/crashlytics/RNFBCrashlytics.podspec index c1572bc7f5..d780e06a77 100644 --- a/packages/crashlytics/RNFBCrashlytics.podspec +++ b/packages/crashlytics/RNFBCrashlytics.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/database/RNFBDatabase.podspec b/packages/database/RNFBDatabase.podspec index 0586931e74..6ce11b85ff 100644 --- a/packages/database/RNFBDatabase.podspec +++ b/packages/database/RNFBDatabase.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/dynamic-links/RNFBDynamicLinks.podspec b/packages/dynamic-links/RNFBDynamicLinks.podspec index 863ba4b4d8..9bb0fbc8ae 100644 --- a/packages/dynamic-links/RNFBDynamicLinks.podspec +++ b/packages/dynamic-links/RNFBDynamicLinks.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/firestore/RNFBFirestore.podspec b/packages/firestore/RNFBFirestore.podspec index a5ebce9ddf..17aa9cab1e 100644 --- a/packages/firestore/RNFBFirestore.podspec +++ b/packages/firestore/RNFBFirestore.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/functions/RNFBFunctions.podspec b/packages/functions/RNFBFunctions.podspec index abfca768ec..040c45211e 100644 --- a/packages/functions/RNFBFunctions.podspec +++ b/packages/functions/RNFBFunctions.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/iid/RNFBIid.podspec b/packages/iid/RNFBIid.podspec index 5e0241d712..e329279c3e 100644 --- a/packages/iid/RNFBIid.podspec +++ b/packages/iid/RNFBIid.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/in-app-messaging/RNFBInAppMessaging.podspec b/packages/in-app-messaging/RNFBInAppMessaging.podspec index 669c13b2d5..fcc67ef795 100644 --- a/packages/in-app-messaging/RNFBInAppMessaging.podspec +++ b/packages/in-app-messaging/RNFBInAppMessaging.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/messaging/RNFBMessaging.podspec b/packages/messaging/RNFBMessaging.podspec index 7ccf73f1bc..c182f84d16 100644 --- a/packages/messaging/RNFBMessaging.podspec +++ b/packages/messaging/RNFBMessaging.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/ml-natural-language/RNFBMLNaturalLanguage.podspec b/packages/ml-natural-language/RNFBMLNaturalLanguage.podspec index 31c475614a..761e423369 100644 --- a/packages/ml-natural-language/RNFBMLNaturalLanguage.podspec +++ b/packages/ml-natural-language/RNFBMLNaturalLanguage.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/ml-vision/RNFBMLVision.podspec b/packages/ml-vision/RNFBMLVision.podspec index 399e4a3606..860c5f391e 100644 --- a/packages/ml-vision/RNFBMLVision.podspec +++ b/packages/ml-vision/RNFBMLVision.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/perf/RNFBPerf.podspec b/packages/perf/RNFBPerf.podspec index 7f507c8e03..bc2982589a 100644 --- a/packages/perf/RNFBPerf.podspec +++ b/packages/perf/RNFBPerf.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/remote-config/RNFBRemoteConfig.podspec b/packages/remote-config/RNFBRemoteConfig.podspec index 976b621c62..dde30ba7dd 100644 --- a/packages/remote-config/RNFBRemoteConfig.podspec +++ b/packages/remote-config/RNFBRemoteConfig.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/packages/storage/RNFBStorage.podspec b/packages/storage/RNFBStorage.podspec index 092e6cafbf..8ab68a95cc 100644 --- a/packages/storage/RNFBStorage.podspec +++ b/packages/storage/RNFBStorage.podspec @@ -25,7 +25,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' # React Native dependencies - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'RNFBApp' if defined?($FirebaseSDKVersion) diff --git a/scripts/_TEMPLATE_/RNFB_Template_.podspec b/scripts/_TEMPLATE_/RNFB_Template_.podspec index 8bdc4b9890..c0069d6da6 100644 --- a/scripts/_TEMPLATE_/RNFB_Template_.podspec +++ b/scripts/_TEMPLATE_/RNFB_Template_.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.social_media_url = 'http://twitter.com/invertaseio' s.ios.deployment_target = "9.0" s.source_files = 'ios/**/*.{h,m}' - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'Firebase/Core', '~> 5.20.2' s.dependency 'RNFBApp' s.static_framework = true diff --git a/scripts/_TEMPLATE_/ios/RNFB_Template_.podspec b/scripts/_TEMPLATE_/ios/RNFB_Template_.podspec index f6f0e432d2..195b1e2909 100644 --- a/scripts/_TEMPLATE_/ios/RNFB_Template_.podspec +++ b/scripts/_TEMPLATE_/ios/RNFB_Template_.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.social_media_url = 'http://twitter.com/invertaseio' s.ios.deployment_target = "9.0" s.source_files = 'RNFB_Template_/**/*.{h,m}' - s.dependency 'React' + s.dependency 'React-Core' s.dependency 'Firebase/Core', '~> 5.20.2' s.dependency 'RNFBApp' s.static_framework = true