xxxxxxxxxx
I had the same problem, but I solved it like this
rm Podfile.lock
pod install --repo-update
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
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
xxxxxxxxxx
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
xxxxxxxxxx
goto: project-name/ios/Podfile
then uncomment this line
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
replace platform :ios, '9.0' to platform :ios, '10.0'
xxxxxxxxxx
had the same problem, but I solved it like this
rm Podfile.lock
pod install --repo-update
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
# platform :ios, '9.0'
change to
platform :ios, '10.0'
xxxxxxxxxx
update platform
platform :ios, '11.0'
cd ios/
pod install
For M1 chip
cd ios/
arch -x86_64