[SOLVED] Flutter IOS Build Fail on Error Running Pod Install
Вставка
- Опубліковано 30 бер 2023
- 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 - Наука та технологія
Thank you sir, this really saved me after hours of tassle 😇😇
sudo arch -x86_64 gem install ffi. doesnt work on the m1 macbook
pods installed successfully, but again when I tried to run the iOS App directly from the android studio the iPhone terminal, I faced the same issue.
In my case it is again showing the same error
Please help me for solving it
VERY HELPFUL! THANK YOU!
Welcome and subscribe
works thank you .. what about If I update the app and I want another .ipa ?
do I have change version numbers ?
Getting the error - '/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- ffi_c (LoadError)'
After running the command - 'arch -x86_64 pod repo update'
not working for me ;(
Lol worked, thanks a lot! ♥
Welcome and subscribe
THANK YOU SO MUCH SIR! IT'S WORK FOR ME!
Welcome and subscribe
Thank you, you save me!
After sudo arch -x86_64 pod repo update
I got an error : You cannot run Cocoapods as root
Please help me fix that
same error how to fix it
@@JumbotronicGaming pls help me guys
@@JumbotronicGaming check make sure that you are the correct folder
Didnt work for me- Apple M2
Not working
Even after all these steps i get the same issue, I tried it on both mac intel chip and m2 chip, how can i fix it please ?
It worked for me in macbook m1 chip
@@kdtechs yeah i saw it, Please update us if with a new video if you find another way
@@ayansaalemu365 ofcourse, subscribe me for latest video
error " undefined method `map' for nil:NilClass"
if i have intel i7
how about m2?
is it same ?
Same bro
thank you so much
Welcome and subscribe
thanks, cool music!!!
Welcome and subscribe
@@kdtechs but not solved
thanks
Welcome and subscribe
It worked on a mac m1
Subscribe
😜nn
arch -x86_64 pod install
Analyzing dependencies
[!] Unable to find a target named `RunnerTestsflutter run
` in project `Runner.xcodeproj`, did find `Runner`.
what should I do
Did you find solution?
I have the same problem as you. How to fix
Same error :(
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# target 'RunnerTests' do
# inherit! :search_paths
# end
end
Replace this code block in your PodFile with one I have given
@@sidharthbahl5495 i did it, thanks to you