How to Fix Cocoapods Install Errors on an Apple Silicon Macs

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 233

  • @JustAnotherDangHowToChannel
    @JustAnotherDangHowToChannel  2 ปีที่แล้ว +7

    if you are following along, there is no need to use sudo when editing the .zshrc file. simply run vi ~/.zschrc

    • @premachithra5957
      @premachithra5957 ปีที่แล้ว +1

      After compiling below issue shown can you help me for this issue .
      1 warning generated.
      compiling ossl_hmac.c
      In file included from ossl_hmac.c:10:
      In file included from ./ossl.h:177:
      ./openssl_missing.h:195:11: warning: 'TS_VERIFY_CTS_set_certs' macro redefined [-Wmacro-redefined]
      # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
      ^
      /usr/local/Cellar/openssl@3/3.1.3/include/openssl/ts.h:426:11: note: previous definition is here
      # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
      ^
      ossl_hmac.c:249:35: error: incomplete definition of type 'struct evp_md_ctx_st'
      pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_get_pkey_ctx(ctx));

    • @mohanadabdullah1420
      @mohanadabdullah1420 ปีที่แล้ว

      same issue appears to me... did you found any solution?@@premachithra5957

    • @VinayakTrigunayat
      @VinayakTrigunayat 3 หลายเดือนก่อน

      Your tutorial was fantastic, but you misspelled the command in this comment, it's vi ~/.zshrc
      One thing worth mentioning is that you have to run vi ~/.zshrc when you are in the home directory, you can run cd ~ before running this command to get to the home directory.

  • @theghosthuntergal
    @theghosthuntergal 17 วันที่ผ่านมา +1

    Why have only 1k people found this video? :) You rock!! Thank you so much! :)

  • @asadullahilyas
    @asadullahilyas ปีที่แล้ว +7

    I was stuck with this problem for a few days now, was trying to setup environment for KMM. This video worked perfectly. Thank you so much for taking the time to create this video and explaining everything in detail.

  • @MrVanhovey
    @MrVanhovey ปีที่แล้ว +3

    Day 1: Can't use flutter, can't download Cocoapods. Two calls to Apple support with no results. Tried everything else on the web, no results. Day 3: Finally, I can user Flutter now. THANK YOU SO MUCH!!!

  • @sultantofoman
    @sultantofoman ปีที่แล้ว +7

    thaaanx it work ...
    note: if u face this problem "chruby: unknown Ruby: ruby-3.1.2" ,,, back to step that we write (sudo vi ~/.zshrc ) then change 3.1.2 to last version ... when i write this comment the last version is 3.2.1

    • @ritaabbruzzi6527
      @ritaabbruzzi6527 4 หลายเดือนก่อน +1

      dude, thank you so much. you saved me.

  • @たけのこ-e8q2b
    @たけのこ-e8q2b 7 หลายเดือนก่อน +1

    Finally, this worked for me!
    You are a lifesaver, thanks a lot!
    For anyone who got an error during this, go check which brew, and If there is no/opt/homebrew/bin/brew, you gotta reinstall brew or change the install path, that is what I did before trying this video’s solution.

  • @Iam_rayhutch
    @Iam_rayhutch หลายเดือนก่อน

    Thank you so much for creating this video! I am new to developing and I was getting increasingly frustrated with all the info out there that doesn't work. Your video was simple and easy to follow and it worked!

  • @redxblood85
    @redxblood85 2 ปีที่แล้ว +3

    should update title to say "and intel macs too", this worked perfectly

  • @findrashid-op5zo
    @findrashid-op5zo 15 วันที่ผ่านมา

    I am new on macbook m3 and was struggling to install cocapods last 2 days untill I see your vlog. Thankyou co much.

  • @gushhle
    @gushhle ปีที่แล้ว +3

    Man, really thank you for this!!! At first it didn't work, maybe you should mention in 4:55 that the CURRENT version should be typed in, since I'm doing this a half year later and 3.2.0 released, it will fail to update if your version is put in. Maybe you could add a TH-cam-hint at this point, I'm sure some others will also fail. Thank you so much for this really, I've been struggling around with this for over 4 hours and searched my way to different forums cuz I couldn't make a unity build because wrong pods have been installed. You saved my day

    • @Elif-ww1fw
      @Elif-ww1fw ปีที่แล้ว +1

      he actually mentioned it at 2:28 but it is easy to miss! hope it helps.

  • @yecoof
    @yecoof 10 หลายเดือนก่อน +1

    You are the greatest person for first day of 2024, i was hopeless for 2 months and stopped my project development. Your guide helped me very well. I hope new year will be great for you. Thanks for your efforts.

    • @JustAnotherDangHowToChannel
      @JustAnotherDangHowToChannel  10 หลายเดือนก่อน

      Glad I could help!

    • @GameDevForLife
      @GameDevForLife 10 หลายเดือนก่อน

      Hi did you use the latest version of ruby or the version in the video

    • @yecoof
      @yecoof 10 หลายเดือนก่อน

      I used lastet one, it was a newer version.@@GameDevForLife

  • @AlonsoMtz-s9m
    @AlonsoMtz-s9m ปีที่แล้ว +1

    i was stuck with this problem for almost a month, thanks to your video i was able to solve it.
    THANK YOU SO MUCH!

  • @reece5863
    @reece5863 ปีที่แล้ว +3

    good god this almost screwed my entire dev team over. But you saved the day!! Subscribed!! Thank you :D

  • @hasancanbalay
    @hasancanbalay 10 หลายเดือนก่อน +1

    If you didn't make this video for us I could never fix this problem. Thanks!!

  • @sevengraphicstudio8750
    @sevengraphicstudio8750 2 ปีที่แล้ว

    I have been trying for the past 3 days to solve the cocoapods error for flutter (Macbook Inter Ver); I installed it successfully. Thank you, Buddy! You are the best. 👍

  • @salvatorecasalino2253
    @salvatorecasalino2253 ปีที่แล้ว +1

    Work for me! After 4 hours of trying, you saved my life!

  • @Thesaeedahmad
    @Thesaeedahmad ปีที่แล้ว

    thank you so much bro it really worked, from the last three I spend hours on TH-cam tutorials none of them worked and finally I found this. thank you so much one again

  • @matthewjdoyle
    @matthewjdoyle 9 หลายเดือนก่อน

    Great video. Thanks for the easy to follow tutorial. You got me out of a real bind getting cocapods installed!

  • @nishantmunjal4946
    @nishantmunjal4946 ปีที่แล้ว +3

    Thanks man. For me, version worked and the command "ruby-install --update ruby" worked.

    • @yaarob988
      @yaarob988 ปีที่แล้ว

      thanks man I was stuck on this part

  • @vvenkateshgajjela4847
    @vvenkateshgajjela4847 2 ปีที่แล้ว

    Thank you for your video, faced issue with Ruby installation
    I used the command for Installation : ruby-install 3.1.2 -- --enable-shared
    finally it worked for my MacBook Air M2

  • @amadzarak7746
    @amadzarak7746 ปีที่แล้ว

    Thank you man! This video needs to be bundled with every apple silicon mac being sold. LOL

  • @hkpatnaik
    @hkpatnaik ปีที่แล้ว +3

    Such a helpful video. I was stuck and this helped me out. Thanks so much

  • @kenb1
    @kenb1 ปีที่แล้ว +1

    Thank you, you deserve way more than 131 likes for this!

  • @katekashko3684
    @katekashko3684 ปีที่แล้ว

    Thank you so much! It's working!)) Best tutorial I could find for solve cocoapods installing problems!

  • @kevinospina4726
    @kevinospina4726 ปีที่แล้ว +2

    Thank you for your video, it is simply incredible.
    Tip for those new to programming: The command to write the last line of the file "vi ~/.zshrc or sudo vi ~/.zshrc", is:
    "Shiff" + ":" = x! - Enter.
    greetings.

    • @NuraOsmonaliev
      @NuraOsmonaliev ปีที่แล้ว

      thank you bro, you are the best dude who really helped me, health and success, thank you from the bottom of my heart

  • @muhammeteminyldz5907
    @muhammeteminyldz5907 ปีที่แล้ว +2

    Thank you man, you saved my life. Great work!

  • @melvinsagini1198
    @melvinsagini1198 หลายเดือนก่อน

    great tutorial, you saved the day

  • @SouravDas-nb9ku
    @SouravDas-nb9ku 3 หลายเดือนก่อน

    Worked, great video. Made my day, thanks.

  • @girishusakoyala49
    @girishusakoyala49 ปีที่แล้ว +4

    still not able to resolve the issue as i am getting same filePermissionError and the only difference i see is the difference in ruby version where after restarting terminal in the video your ruby version was 3.1.2 but mine was same as before can you please help me out with this issue as nothing seems to be working

    • @luiscarlospxr
      @luiscarlospxr 24 วันที่ผ่านมา

      could you solve the issue. I am having the same here.

    • @girishusakoyala49
      @girishusakoyala49 24 วันที่ผ่านมา

      @@luiscarlospxr i just removed everything and installed cocoa pods using home brew it’s way to easier than this headache. I’d suggest you the same

  • @yudhistheraryan5844
    @yudhistheraryan5844 ปีที่แล้ว +2

    Great help! Keep up the great work 🎉🎉

  • @petbarik
    @petbarik 10 หลายเดือนก่อน +1

    I'am stuck because i didn't wich key ned I press to exit form instert mod. I am trying with every keys and shortcuts but they have not function.
    Please help!!!

  • @irem4198
    @irem4198 ปีที่แล้ว +1

    thank you so much this was extremely helpful!

  • @jean-charlesd3030
    @jean-charlesd3030 ปีที่แล้ว

    Wow THANK YOU VERY MUCH ! I was stucks for hours, try everything, nothing was working! But yours works, great video, I subscribe to your chanel !

  • @AnkurSharma-dd9cy
    @AnkurSharma-dd9cy ปีที่แล้ว

    appreciated man this worked out after frustrating trying of full night

  • @taco_t8881
    @taco_t8881 4 หลายเดือนก่อน

    I'm following all of your steps and it is a great tutorial but I still show the old version of ruby even after restarting the terminal?

  • @mahnoorwaheed99
    @mahnoorwaheed99 ปีที่แล้ว

    /best best best solution it worked for me i've being trying it since 3 days and nothing worked for me then i found your video and give it a try.. Well Explained Thank you so much

  • @yurialenccar
    @yurialenccar ปีที่แล้ว +2

    Such an useful tutorial. Thanks!

  • @ZacharyHarnish
    @ZacharyHarnish ปีที่แล้ว +2

    Such an amazing tutorial, thank you so much

  • @wisdomisaac7819
    @wisdomisaac7819 ปีที่แล้ว +2

    I followed through from the homebrew video but still got the error: chruby: unknown Ruby: ruby-3.1.2. Is there something I must have done wrong here? Please point me in the right direction. Thanks!

    • @praveen000015
      @praveen000015 ปีที่แล้ว

      please put latest downloaded ruby version

    • @philosophe2517
      @philosophe2517 ปีที่แล้ว

      @@praveen000015 what do yo mean ?

  • @Steedie
    @Steedie ปีที่แล้ว

    Dude, thanks! Been looking for a sollution for days. Had to buy a Mac just to put my app on the App Store. Having to do all this without any official documentation on these problems. Mac sucks!

  • @hakanakyuz6443
    @hakanakyuz6443 ปีที่แล้ว

    thank you so much ıv been traying to find a solution for ages

  • @surendravishwakarma5244
    @surendravishwakarma5244 ปีที่แล้ว

    Thank you sir,
    Both video very helpful for me other people.
    Lots of thanks

  • @sayemmohammad6364
    @sayemmohammad6364 2 ปีที่แล้ว +2

    It's work for me, A very helpful instruction ! Very simple and clean !

  • @SakshiBala-ni4kg
    @SakshiBala-ni4kg 9 หลายเดือนก่อน

    Thank you so much, I was stuck and this helped me out :)

  • @abulhossain5077
    @abulhossain5077 2 หลายเดือนก่อน

    Even after relaunching terminal old version is showing. Need help

  • @absoluteparagon
    @absoluteparagon ปีที่แล้ว +1

    Thanks so much for this!

  • @sebastianalfaro1887
    @sebastianalfaro1887 4 หลายเดือนก่อน

    Thank you bro i was really losing my mind with this hahah

  • @szelest88
    @szelest88 ปีที่แล้ว

    Thank you very much, it works! Great detailed instructions!

  • @prahladamaharaja
    @prahladamaharaja ปีที่แล้ว +1

    thx, u are life savior, you got a new follower xx

  • @radekjestrabik8507
    @radekjestrabik8507 4 หลายเดือนก่อน

    Thank you so much! Works great.

  • @ameykulkarni1624
    @ameykulkarni1624 10 หลายเดือนก่อน +1

    Lifesaver Video

  • @ILKACASELYRICS
    @ILKACASELYRICS ปีที่แล้ว

    this video is amazing and easy thanks

  • @ranaabdulhaseeb8637
    @ranaabdulhaseeb8637 10 หลายเดือนก่อน

    Thanks Buddy, very helpful

  • @ming-l8r
    @ming-l8r 11 หลายเดือนก่อน

    yeah, and may be can try install cocoapods directly with brew

  • @garimellateja3919
    @garimellateja3919 ปีที่แล้ว

    after i quit the terminal and restart it, the ruby version is just showing the default ones i.e 2.6

  • @eddymunoz9803
    @eddymunoz9803 ปีที่แล้ว +1

    before you write chruby ruby-3.1.2 you push Shift + what?? .... i can't understand

  • @vikramkunwar1703
    @vikramkunwar1703 2 ปีที่แล้ว

    Thanks brother it worked✌🏻 You got a new Subscriber 🙂

  • @surajsuryawanshi7835
    @surajsuryawanshi7835 11 หลายเดือนก่อน

    Thanks Bro, You saved my lot of time.

  • @DonCaster-g1z
    @DonCaster-g1z ปีที่แล้ว

    worked like a charm

  • @gdsantos2002
    @gdsantos2002 11 หลายเดือนก่อน +1

    Thanks a lot!

  • @GaborSzabo-g1y
    @GaborSzabo-g1y 14 วันที่ผ่านมา

    Thanks! very helpfull!

  • @tunjiajanaku
    @tunjiajanaku ปีที่แล้ว

    ruby is successfully updating but the version still remains the same
    what can i do to resole that (Using M2 SONOMA)

  • @yscode2747
    @yscode2747 ปีที่แล้ว

    thanks buddy works for me , a helpful video

  • @antonioalejos9092
    @antonioalejos9092 ปีที่แล้ว

    This totally helped me!! thank you so much!!

  • @harnesspositivity
    @harnesspositivity 9 หลายเดือนก่อน +1

    Thanks

  • @MusaddiqRafi
    @MusaddiqRafi 5 หลายเดือนก่อน

    Thanks buddy! It works!

  • @ta2090
    @ta2090 ปีที่แล้ว

    Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!

  • @Manishdahiyavlogs
    @Manishdahiyavlogs ปีที่แล้ว +1

    bro i did all well but in last it shows this error 1 warning and 1 error generated.
    make[2]: *** [ossl_hmac.o] Error 1
    make[1]: *** [ext/openssl/all] Error 2
    make: *** [build-ext] Error 2
    !!! Compiling ruby 3.2.2 failed!

  • @radeox98
    @radeox98 ปีที่แล้ว

    currently 3 days into try and install, stuck at install latest ruby " command not found ruby-install" pls help...

  • @XoaInfoIOS
    @XoaInfoIOS ปีที่แล้ว

    Thank you! worked for me , mac11.3 m1

  • @anbari-3737
    @anbari-3737 4 หลายเดือนก่อน

    Is this work on MacBook M3?

  • @philosophe2517
    @philosophe2517 ปีที่แล้ว

    For the error that ruby --version is the same as before, tap: brew install ruby 3.1.2
    (I'm not sure of the exact syntax, see the comments)
    For the error pod --version, tap :
    Open Terminal
    Type open ~/.zshrc (or open ~/.profile if you don't use zsh)
    It seems that LANG="en_US.UTF-8" alone isn't enough, so you have to set:
    export LANG=en_US.UTF-8
    export LANGUAGE=en_US.UTF-8
    export LC_ALL=en_US.UTF-8

  • @faezansar5417
    @faezansar5417 ปีที่แล้ว

    jaza k Allah khair brother ,really grateful

  • @Tomsar95
    @Tomsar95 ปีที่แล้ว

    All the tutorial worked for me but inside android studio it still throws the error: "Error running pod install" when I run the app... any advice? thanks

  • @Didier_Cruz
    @Didier_Cruz ปีที่แล้ว

    Hello in addition had to add this 3.2.2 on .ruby-version file from project

  • @JetpackD
    @JetpackD ปีที่แล้ว +1

    thank you so much from Russia

  • @TriSoftGames
    @TriSoftGames 4 หลายเดือนก่อน

    Amazing Bro!

  • @ThinkArc
    @ThinkArc ปีที่แล้ว

    amazing video bro it helped a lot

  • @richardsangohil
    @richardsangohil ปีที่แล้ว

    Thank you this is working for me

  • @omarbarkat1937
    @omarbarkat1937 6 หลายเดือนก่อน

    great job bro

  • @GameDevForLife
    @GameDevForLife 10 หลายเดือนก่อน

    you are captain cocopods
    thanks

  • @eslamali4066
    @eslamali4066 2 ปีที่แล้ว +1

    this helps me alot thanks bro

  • @karishmapatel2226
    @karishmapatel2226 ปีที่แล้ว

    Thank you so much for saving my time 😀

  • @neelarai5920
    @neelarai5920 ปีที่แล้ว

    thank you so much really appreciated for the video

  • @stotchmania
    @stotchmania ปีที่แล้ว

    Thank you! But, how did you know to do this?! Impressive. Without this i would have had to give up coding. What a mess. Thank you!!!!

  • @sanashaikh4066
    @sanashaikh4066 ปีที่แล้ว

    after successfully installing the latest version when i run the command ruby --verion it show the older version
    please help

    • @shimaakhairy7828
      @shimaakhairy7828 ปีที่แล้ว

      try this ruby-install 3.1.2 -- --enable-shared

  • @chaordo
    @chaordo ปีที่แล้ว

    Absolute lifesaver, thank you!

  • @K.Huynh.
    @K.Huynh. ปีที่แล้ว

    thank for sharing.

  • @aliroshdy1390
    @aliroshdy1390 ปีที่แล้ว

    i receive the message successfully installed Ruby 3.2.2 but we i quit the terminal and open it again it still refers to the old Ruby version 2.6.0 why that?

    • @JesusLopez-yu5ff
      @JesusLopez-yu5ff ปีที่แล้ว

      where you able to solve this issue? I am having the same problem

    • @Spiderfish7
      @Spiderfish7 ปีที่แล้ว

      @@JesusLopez-yu5ff still having the same issue, have you solved it?

    • @taco_t8881
      @taco_t8881 4 หลายเดือนก่อน

      Same problem

  • @agataageeva424
    @agataageeva424 ปีที่แล้ว

    wowwww! please continue

  • @andarklv1185
    @andarklv1185 ปีที่แล้ว

    Hi, guys, have you tried to install cocoapods on mac sonoma beta? I made a try,but stopped on installing ruby.

  • @희진-d3u
    @희진-d3u 2 ปีที่แล้ว +1

    Thank you so much!! 👍

  • @vineetkapil1646
    @vineetkapil1646 ปีที่แล้ว

    Not able to install ruby latest because of google santa interruption even after voting enabled:
    This application has been blocked from executing. Please use Precinct to vote to have this application added to the whitelist.

  • @putjocmon
    @putjocmon 5 หลายเดือนก่อน

    ruby: invalid option -3 (-h will show valid options) (RuntimeError)

  • @菜菜-n3v
    @菜菜-n3v 10 หลายเดือนก่อน

    my terminal has a log:chruby: unknown Ruby: ruby-3.1.2

    • @akin3796
      @akin3796 10 หลายเดือนก่อน

      if you face this problem "chruby: unknown Ruby: ruby-3.1.2" back to step that we write (sudo vi ~/.zshrc ) then change 3.1.2 to last version ... when i write this comment the last version is 3.3.0

  • @yashsaxena1473
    @yashsaxena1473 2 ปีที่แล้ว

    Awesome brother
    Thanks for the help

  • @XoaInfoIOS
    @XoaInfoIOS ปีที่แล้ว

    if openssl error can run it : brew install openssl

  • @mariusholle8380
    @mariusholle8380 ปีที่แล้ว

    Tank you so much!!!

  • @theunblunt
    @theunblunt ปีที่แล้ว

    Thanks for the help bro!!!!!!

  • @ahmedalhelali6890
    @ahmedalhelali6890 ปีที่แล้ว

    such a helpful video, thanks a lot (: