I’m currently facing an issue with React Native and CocoaPods after upgrading React Native and trying to install dependencies for iOS. Here are the details of the problem:
[!] CocoaPods could not find compatible versions for pod "ReactCommon/turbomodule/core":
In Podfile:
ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
Specs satisfying the `ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)` dependency were found, but they required a higher minimum deployment target.
Steps Taken:
Updated iOS deployment target in my Podfile to 13.0 (also tried 12.0, 14.0):
platform :ios, '13.0'
Cleared CocoaPods cache and reinstalled pods with:
rm -rf ~/Library/Caches/CocoaPods
rm -rf ios/Pods ios/Podfile.lock
cd ios
pod install --repo-update
I'm using M1 arm64
I’ve tried cleaning the build folder, resetting Xcode’s derived data, and manually managing the Podfile entries, but nothing seems to resolve the issue.
Has anyone else encountered this problem or found a solution?
Thanks for your help!