How to Fix Cocoapods Install Errors on an Apple Silicon Macs

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 235

  • @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 5 месяцев назад

      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 2 месяца назад +2

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

  • @Iam_rayhutch
    @Iam_rayhutch 3 месяца назад +1

    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!

  • @asadullahilyas
    @asadullahilyas 2 года назад +8

    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.

  • @sultantofoman
    @sultantofoman Год назад +8

    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 6 месяцев назад +1

      dude, thank you so much. you saved me.

  • @たけのこ-e8q2b
    @たけのこ-e8q2b 9 месяцев назад +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.

  • @findrashid-op5zo
    @findrashid-op5zo 2 месяца назад

    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 Год назад +4

    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 RUclips-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.

  • @redxblood85
    @redxblood85 2 года назад +4

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

  • @MrVanhovey
    @MrVanhovey 2 года назад +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!!!

  • @yecoof
    @yecoof Год назад +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  Год назад

      Glad I could help!

    • @GameDevForLife
      @GameDevForLife Год назад

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

    • @yecoof
      @yecoof 11 месяцев назад

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

  • @reece5863
    @reece5863 Год назад +3

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

  • @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!

  • @Thesaeedahmad
    @Thesaeedahmad Год назад

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

  • @hasancanbalay
    @hasancanbalay Год назад +1

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

  • @salvatorecasalino2253
    @salvatorecasalino2253 2 года назад +1

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

  • @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

  • @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. 👍

  • @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

  • @matthewjdoyle
    @matthewjdoyle 11 месяцев назад

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

  • @hkpatnaik
    @hkpatnaik Год назад +3

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

  • @MinciHH
    @MinciHH 13 дней назад

    You're a life saver! Thank you for this tutorial!

  • @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

  • @katekashko3684
    @katekashko3684 Год назад

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

  • @kenb1
    @kenb1 2 года назад +1

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

  • @yudhistheraryan5844
    @yudhistheraryan5844 Год назад +2

    Great help! Keep up the great work 🎉🎉

  • @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 2 месяца назад

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

    • @girishusakoyala49
      @girishusakoyala49 2 месяца назад

      @@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

  • @petbarik
    @petbarik 11 месяцев назад +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!!!

  • @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 !

  • @muhammeteminyldz5907
    @muhammeteminyldz5907 Год назад +2

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

  • @amadzarak7746
    @amadzarak7746 Год назад

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

  • @mahnoorwaheed99
    @mahnoorwaheed99 2 года назад

    /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

  • @SouravDas-nb9ku
    @SouravDas-nb9ku 5 месяцев назад

    Worked, great video. Made my day, thanks.

  • @ILKACASELYRICS
    @ILKACASELYRICS Год назад

    this video is amazing and easy thanks

  • @AnkurSharma-dd9cy
    @AnkurSharma-dd9cy Год назад

    appreciated man this worked out after frustrating trying of full night

  • @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!

  • @abulhossain5077
    @abulhossain5077 4 месяца назад

    Even after relaunching terminal old version is showing. Need help

  • @ta2090
    @ta2090 Год назад

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

  • @sayemmohammad6364
    @sayemmohammad6364 2 года назад +2

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

  • @ZacharyHarnish
    @ZacharyHarnish Год назад +2

    Such an amazing tutorial, thank you so much

  • @Didier_Cruz
    @Didier_Cruz Год назад

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

  • @SakshiBala-ni4kg
    @SakshiBala-ni4kg 11 месяцев назад

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

  • @tunjiajanaku
    @tunjiajanaku Год назад

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

  • @surendravishwakarma5244
    @surendravishwakarma5244 Год назад

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

  • @yurialenccar
    @yurialenccar Год назад +2

    Such an useful tutorial. Thanks!

  • @Tomsar95
    @Tomsar95 2 года назад

    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

  • @vikramkunwar1703
    @vikramkunwar1703 2 года назад

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

  • @XoaInfoIOS
    @XoaInfoIOS Год назад

    if openssl error can run it : brew install openssl

  • @radeox98
    @radeox98 Год назад

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

  • @hakanakyuz6443
    @hakanakyuz6443 Год назад

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

  • @garimellateja3919
    @garimellateja3919 Год назад

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

  • @ming-l8r
    @ming-l8r Год назад

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

  • @irem4198
    @irem4198 Год назад +1

    thank you so much this was extremely helpful!

  • @melvinsagini1198
    @melvinsagini1198 2 месяца назад

    great tutorial, you saved the day

  • @anbari-3737
    @anbari-3737 6 месяцев назад

    Is this work on MacBook M3?

  • @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.

  • @eddymunoz9803
    @eddymunoz9803 Год назад +1

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

  • @sebastianalfaro1887
    @sebastianalfaro1887 5 месяцев назад

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

  • @Steedie
    @Steedie 2 года назад

    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!

  • @szelest88
    @szelest88 Год назад

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

  • @ameykulkarni1624
    @ameykulkarni1624 11 месяцев назад +1

    Lifesaver Video

  • @taco_t8881
    @taco_t8881 6 месяцев назад

    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?

    • @PowerCube3D
      @PowerCube3D 17 дней назад

      Did u manage to fix it?

  • @prahladamaharaja
    @prahladamaharaja 2 года назад +1

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

  • @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!

  • @surajsuryawanshi7835
    @surajsuryawanshi7835 Год назад

    Thanks Bro, You saved my lot of time.

  • @andarklv1185
    @andarklv1185 Год назад

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

  • @absoluteparagon
    @absoluteparagon Год назад +1

    Thanks so much for this!

  • @radekjestrabik8507
    @radekjestrabik8507 6 месяцев назад

    Thank you so much! Works great.

  • @sanashaikh4066
    @sanashaikh4066 2 года назад

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

    • @shimaakhairy7828
      @shimaakhairy7828 2 года назад

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

  • @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

  • @antonioalejos9092
    @antonioalejos9092 Год назад

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

  • @yscode2747
    @yscode2747 Год назад

    thanks buddy works for me , a helpful video

  • @MusaddiqRafi
    @MusaddiqRafi 7 месяцев назад

    Thanks buddy! It works!

  • @DonCaster-g1z
    @DonCaster-g1z Год назад

    worked like a charm

  • @muhammednasarudheen5126
    @muhammednasarudheen5126 Год назад

    pod --version
    zsh: command not found: pod
    only didnt works on the last step

    • @philosophe2517
      @philosophe2517 Год назад

      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

  • @ranaabdulhaseeb8637
    @ranaabdulhaseeb8637 Год назад

    Thanks Buddy, very helpful

  • @lanabaydar3917
    @lanabaydar3917 2 года назад

    Hey there, thanks a lot, very helpful instructions. But when I finish all the steps and type ruby-install to terminal, I get the following error:
    'zsh: command not found: ruby-install' . What do I need to do, please help . (MacBook Air M2)

    • @JustAnotherDangHowToChannel
      @JustAnotherDangHowToChannel  2 года назад

      if it says command not found, it could mean it was not added installed properly or not added the path. run --> brew list to see the apps installed by homebrew.. if you can't see it there run the install command again.

  • @XoaInfoIOS
    @XoaInfoIOS Год назад

    Thank you! worked for me , mac11.3 m1

  • @ThinkArc
    @ThinkArc Год назад

    amazing video bro it helped a lot

  • @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 6 месяцев назад

      Same problem

  • @Queenbeeinfinity
    @Queenbeeinfinity 2 года назад

    Sorry 5:02 I didn’t quite understand what you said Shift+ what again? It’s sounds like you said Shift color 😂 sorry if I’m hard of hearing.

  • @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!!!!

  • @TriSoftGames
    @TriSoftGames 6 месяцев назад

    Amazing Bro!

  • @harnesspositivity
    @harnesspositivity 11 месяцев назад +1

    Thanks

  • @putjocmon
    @putjocmon 7 месяцев назад

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

  • @eslamali4066
    @eslamali4066 2 года назад +1

    this helps me alot thanks bro

  • @karishmapatel2226
    @karishmapatel2226 Год назад

    Thank you so much for saving my time 😀

  • @gdsantos2002
    @gdsantos2002 Год назад +1

    Thanks a lot!

  • @omarbarkat1937
    @omarbarkat1937 8 месяцев назад

    great job bro

  • @serhatyazc7686
    @serhatyazc7686 Год назад

    It works 💯 Thank you

  • @redouaneamour5079
    @redouaneamour5079 2 года назад

    Hi ! The first part worked for me but at the very end of your tutorial when I enter the command "pod --version" it does not work and shows :
    "rescue in block in activate_dependencies': Could not find 'json' (>= 1.5.1) among 59 total gem(s) (Gem::MissingSpecError)"
    Can you please help me ?

  • @chaordo
    @chaordo Год назад

    Absolute lifesaver, thank you!

  • @菜菜-n3v
    @菜菜-n3v Год назад

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

    • @akin3796
      @akin3796 Год назад

      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

  • @richardsangohil
    @richardsangohil Год назад

    Thank you this is working for me

  • @희진-d3u
    @희진-d3u 2 года назад +1

    Thank you so much!! 👍

  • @artembislyuk4160
    @artembislyuk4160 2 года назад

    Please tell me, when a new version of Ruby is released, will it be necessary to edit the new version in the .zhrs file?

  • @ahmedalhelali6890
    @ahmedalhelali6890 Год назад

    such a helpful video, thanks a lot (:

  • @neelarai5920
    @neelarai5920 Год назад

    thank you so much really appreciated for the video

  • @shammakhaled9835
    @shammakhaled9835 2 года назад +4

    i followed all step and still old ruby versin chruby: unknown Ruby: 3.1.2
    ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin21]

    • @luiscarlospxr
      @luiscarlospxr 2 месяца назад

      Could you solve the issue, i am have the same here!

  • @JetpackD
    @JetpackD 2 года назад +1

    thank you so much from Russia