xxxxxxxxxx
# Go to ./node-module/react-native-fetch-blob/react-native-fetch-blob.podspec
# change:
s.dependency 'React/Core'
=> s.dependency 'React-Core'
xxxxxxxxxx
for mac M1
cd ios
sudo arch -x86_64 gem install ffi
sudo arch -x86_64 gem install cocoapods cocoapods-clean
arch -x86_64 pod clean setup
arch -x86_64 pod install
xxxxxxxxxx
// replace
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
//with
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
xxxxxxxxxx
#go to /ios and open podfile
the top of file
platform :ios, '14.4.2'
'14.4.2' is the lastest verison
xxxxxxxxxx
CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install
This is due to your minimum deployment target being less than iOS 10.0. To change this, open ios/Podfile in your project and add/uncomment this line at the top:
# platform :ios, '9.0'
change to
platform :ios, '10.0'
xxxxxxxxxx
(optional) Delete the newest dependence before the error took place
Remove the lock file [ yarn.lock or package.lock] or both if by chance you do have them
yarn add --dev yarn-upgrade-all
yarn add pod-install
xxxxxxxxxx
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'