[SOLVED] Flutter IOS Build Fail on Error Running Pod Install

Опубликовано: 07 Январь 2025
на канале: KDTechs
704
6

Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`
Error output from CocoaPods
Error running pod install

Solution:
If you are using Apple Silicon Chip (M1), you can do this
pod cache clean --all
Pod clean
pod deintegrate
sudo gem install cocoapods-deintegrate cocoapods-clean

sudo arch -x86_64 gem install ffi
arch -x86_64 pod repo update
arch -x86_64 pod install