Specs satisfying the `React-FabricImage (from ``)` dependency were found, but they required a higher minimum deployment target

Specs satisfying the React-FabricImage (from …/node_modules/react-native/ReactCommon) dependency were found, but they required a higher minimum deployment target.

My usual bash script to build android ( successful ) but failed on iOS.
cd Rocket.Chat.ReactNative
yarn
yarn ios
cd Rocket.Chat.ReactNative/ios/
pod cache clean --all
#Not sure if this needed to update dependencies issue.
pod repo update
pod install → Fails here
cd Rocket.Chat.ReactNative
yarn ios

Environment Information:

  • Rocket.Chat App Version: 4.46.1

Steps to reproduce:

In iOS folder, pod update

Expected behavior:

Pods are updated.

Actual behavior:

someone@someone ios % pod repo update

Updating spec repo `trunk`
someone@someone ios % pod update
RNFBAnalytics: Using Firebase/AnalyticsWithoutAdIdSupport pod in place of default Firebase/Analytics
Auto-linking React Native modules for target `defaults`: BVLinearGradient, BugsnagReactNative, Expo, RNBootSplash, RNCAsyncStorage, RNCClipboard, RNCMaskedView, RNCPicker, RNConfigReader, RNDateTimePicker, RNDeviceInfo, RNFBAnalytics, RNFBApp, RNFBCrashlytics, RNFastImage, RNFileViewer, RNGestureHandler, RNImageCropPicker, RNLocalize, RNReanimated, RNRootView, RNSVG, RNScreens, RNVectorIcons, ReactNativeART, ReactNativeUiLib, WatermelonDB, react-native-background-timer, react-native-cameraroll, react-native-cookies, react-native-document-picker, react-native-mmkv-storage, react-native-netinfo, react-native-notifications, react-native-orientation-locker, react-native-restart, react-native-safe-area-context, react-native-simple-crypto, react-native-slider, react-native-webview, rn-extensions-share, and rn-fetch-blob
Using Expo modules
get_default_flags is deprecated. Please remove the keys from the `use_react_native!` function
if you are using the default already and pass the value you need in case you don't want the default
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] generating an empty RCTThirdPartyFabricComponentsProvider
Update all pods
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
RNFBAnalytics: Using Firebase/AnalyticsWithoutAdIdSupport pod in place of default Firebase/Analytics
[Codegen] Found rncore
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.73.4/react-native-artifacts-0.73.4-hermes-ios-debug.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16.2M  100 16.2M    0     0  5022k      0  0:00:03  0:00:03 --:--:-- 5119k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.3M  100 12.3M    0     0  4554k      0  0:00:02  0:00:02 --:--:-- 4667k
[!] CocoaPods could not find compatible versions for pod "React-FabricImage":
  In Podfile:
    React-FabricImage (from `../node_modules/react-native/ReactCommon`)

Specs satisfying the `React-FabricImage (from `../node_modules/react-native/ReactCommon`)` dependency were found, but they required a higher minimum deployment target.

Try to update your project’s iOS deployment target to meet the requirements of the React-FabricImage dependency because the issue is with the compatibility of the React-FabricImage dependency in your iOS project, and after updating the deployment target, you can try running pod install again to see if the issue is resolved. If you’re unsure about which iOS version to choose then you can check the documentation or the dependency’s requirements for guidance.