react-native: CocoaPods could not find compatible versions for pod "React-FabricImage"
Old Version
0.72.6
New Version
0.73.2
Description
I’ve upgraded react-native version to 0.73.2 due to solve this https://github.com/facebook/react-native/issues/39441 issue.
I’m using RN with expo, yet expo does not has a version other then 50.0.0-preview.11
with 0.73.x support.
I’ve upgraded both expo and react-native, and I’m getting below pod install error while building / running for ios.
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: 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.
pod install --repo-update --ansi exited with non-zero code: 1
✨ Done in 12.94s.
Steps to reproduce
Create expo project with npx create-expo-app
Both upgrade react-native (0.73.x) and expo (50.0.0-preview.x)
Run for ios, fails.
(same error log as above)
Affected Platforms
Runtime - iOS, Build - MacOS
Output of npx react-native info
System:
OS: macOS 14.0
CPU: (24) arm64 Apple M2 Ultra
Memory: 28.32 GB / 128.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.9.0
path: ~/.nvm/versions/node/v20.9.0/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v20.9.0/bin/yarn
npm:
version: 10.1.0
path: ~/.nvm/versions/node/v20.9.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.14.3
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.11005911
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.9
path: /opt/homebrew/opt/openjdk@17/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.2
wanted: ^0.73.2
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
### Stacktrace or Logs
```text
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: 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.
pod install --repo-update --ansi exited with non-zero code: 1
✨ Done in 12.94s.
### Reproducer
https://github.com/react-native-community/reproducer-react-native
### Screenshots and Videos
_No response_
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 17 (2 by maintainers)
I was able to fix this by updating my Podfile setting the correct
min_ios_version_supported
I was able to fix this by running expo prebuild --clean. I believe the fix is because it changes the minimum iOS version to 13.4
in folder ios open Podfile and change this line
to
and try again npx pod-install
first clear nodemodules then after installing dependencies, upgrade the min_ios_version to 13.4 Moving further , install PODS and if u have using expo , building from xcode will give an error (ExpoModuleCore min min_ios_version deployment error) then, in podfile set it to 13.0 , then build from xcode , it will build
HAPPY CODING!
I have the same problem
It works for me using expo 50 and react-native 0.73.6 🔥
Confirming that updating min iOS version solves the issue
I have the same error after upgrade the SDK Expo version to 50 from 40.
I run: cd ios && rm -rf Pods && pod cache clean --all && pod install && cd …
But the error persist : /
My Podfile file had already said 13.4, I had another file called Podfile.properties.json which said 13.0. changed it to 13.4 and re-ran pod install. fixed it
I upgrade react-native 0.71.16 to 0.73.6 through the upgrade assistant. then run
rm -rf node_modules && rm -rf yarn.lock && yarn
error occurred. Runningbundle exec pod deintegrate
and thenbundle exec pod install
did not solve this problem. I changedplatform :ios, 13.0
toplatform :ios, 13.4
in Podfile under the iOS file, and then re-executednpx pod-install
to solve this problem.10 versions of React Native is a huge leap @piclez! 😮 Have you tried running
bundle exec pod deintegrate
and thenbundle exec pod install
again?