[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
  • Наука та технологія

КОМЕНТАРІ • 48

  • @josephbeep-tech5219
    @josephbeep-tech5219 4 місяці тому +1

    Thank you sir, this really saved me after hours of tassle 😇😇

  • @jerrynkongolo
    @jerrynkongolo Місяць тому

    sudo arch -x86_64 gem install ffi. doesnt work on the m1 macbook

  • @rajasaad707
    @rajasaad707 26 днів тому

    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.

  • @AnuragSharma-nd8cz
    @AnuragSharma-nd8cz Рік тому +5

    In my case it is again showing the same error
    Please help me for solving it

  • @muhammadariq2511
    @muhammadariq2511 Рік тому +2

    VERY HELPFUL! THANK YOU!

    • @kdtechs
      @kdtechs  Рік тому

      Welcome and subscribe

  • @littilef0x
    @littilef0x Місяць тому

    works thank you .. what about If I update the app and I want another .ipa ?
    do I have change version numbers ?

  • @Nikg123
    @Nikg123 28 днів тому

    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'

  • @TheCodeWhisperer0o0
    @TheCodeWhisperer0o0 11 місяців тому +1

    not working for me ;(

  • @erick-llerenas
    @erick-llerenas 10 місяців тому +1

    Lol worked, thanks a lot! ♥

    • @kdtechs
      @kdtechs  10 місяців тому

      Welcome and subscribe

  • @arepadnan5706
    @arepadnan5706 Рік тому +1

    THANK YOU SO MUCH SIR! IT'S WORK FOR ME!

    • @kdtechs
      @kdtechs  Рік тому

      Welcome and subscribe

  • @jassito33c
    @jassito33c 5 місяців тому

    Thank you, you save me!

  • @user-ju9th9ed2z
    @user-ju9th9ed2z Рік тому +3

    After sudo arch -x86_64 pod repo update
    I got an error : You cannot run Cocoapods as root
    Please help me fix that

    • @JumbotronicGaming
      @JumbotronicGaming Місяць тому

      same error how to fix it

    • @curryking3661
      @curryking3661 18 днів тому

      @@JumbotronicGaming pls help me guys

    • @nuurgedi
      @nuurgedi 17 днів тому

      @@JumbotronicGaming check make sure that you are the correct folder

  • @prakharverma4539
    @prakharverma4539 5 місяців тому

    Didnt work for me- Apple M2

  • @kushalgupta8847
    @kushalgupta8847 Рік тому +1

    Not working

  • @ayansaalemu365
    @ayansaalemu365 Рік тому +1

    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 ?

    • @kdtechs
      @kdtechs  Рік тому +1

      It worked for me in macbook m1 chip

    • @ayansaalemu365
      @ayansaalemu365 Рік тому +1

      @@kdtechs yeah i saw it, Please update us if with a new video if you find another way

    • @kdtechs
      @kdtechs  Рік тому +2

      @@ayansaalemu365 ofcourse, subscribe me for latest video

  • @XGus
    @XGus 2 місяці тому

    error " undefined method `map' for nil:NilClass"

  • @salmannaghori4219
    @salmannaghori4219 11 місяців тому

    if i have intel i7

  • @shineaungkhant3587
    @shineaungkhant3587 7 місяців тому +1

    how about m2?
    is it same ?

    • @kdtechs
      @kdtechs  7 місяців тому

      Same bro

  • @rainhadolar.shopee
    @rainhadolar.shopee 7 місяців тому +1

    thank you so much

    • @kdtechs
      @kdtechs  7 місяців тому

      Welcome and subscribe

  • @diegotorres9243
    @diegotorres9243 10 місяців тому +1

    thanks, cool music!!!

    • @kdtechs
      @kdtechs  10 місяців тому

      Welcome and subscribe

    • @msnmuhsin7747
      @msnmuhsin7747 4 дні тому

      @@kdtechs but not solved

  • @kendij8487
    @kendij8487 10 місяців тому +1

    thanks

    • @kdtechs
      @kdtechs  10 місяців тому +1

      Welcome and subscribe

  • @AhoraMeditaconmigo
    @AhoraMeditaconmigo Місяць тому +1

    It worked on a mac m1

  • @fitfusion_life
    @fitfusion_life 8 місяців тому

    😜nn

  • @MUKULYADAV-xs9wm
    @MUKULYADAV-xs9wm Рік тому +3

    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

    • @AbnerAstete
      @AbnerAstete Рік тому

      Did you find solution?

    • @sonnguyenvan-om8jx
      @sonnguyenvan-om8jx Рік тому

      I have the same problem as you. How to fix

    • @jaidite3199
      @jaidite3199 Рік тому

      Same error :(

    • @sidharthbahl5495
      @sidharthbahl5495 Рік тому +2

      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

    • @batuhankoc94
      @batuhankoc94 10 місяців тому

      ​@@sidharthbahl5495 i did it, thanks to you