How to Fix Cocoapods Install Errors on an Apple Silicon Macs

Поделиться
HTML-код
  • Опубликовано: 29 ноя 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 4 месяца назад

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

    Why have only 1k people found this video? :) You rock!! 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 5 месяцев назад +1

      dude, thank you so much. you saved me.

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

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

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

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

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

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

    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!

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

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

  • @hasancanbalay
    @hasancanbalay 10 месяцев назад +1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • @girishusakoyala49
      @girishusakoyala49 Месяц назад

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

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

    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?

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

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

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

  • @melvinsagini1198
    @melvinsagini1198 Месяц назад

    great tutorial, you saved the day

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

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

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

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

    this video is amazing and easy thanks

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

    Even after relaunching terminal old version is showing. Need help

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

    Worked, great video. Made my day, thanks.

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

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

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

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

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

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

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

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

    thank you so much this was extremely helpful!

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

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

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

    Is this work on MacBook M3?

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

    Thank you! worked for me , mac11.3 m1

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

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

    Thanks so much for this!

  • @GameDevForLife
    @GameDevForLife 10 месяцев назад

    you are captain cocopods
    thanks

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

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

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

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

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

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

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

    Anyone facing this issue.
    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!

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

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

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

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

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

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

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

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

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

    appreciated man this worked out after frustrating trying of full night

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

    if openssl error can run it : brew install openssl

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

    Thanks

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

    Such an useful tutorial. Thanks!

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

    Thank you so much! Works great.

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

    Lifesaver Video

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

    Great help! Keep up the great work 🎉🎉

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

    Such an amazing tutorial, thank you so much

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

    Thanks a lot!

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

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

    worked like a charm

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

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

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

      Same problem

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

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

    Thanks Buddy, very helpful

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

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

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

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

    Thanks Bro, You saved my lot of time.

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

  • @shammakhaled9835
    @shammakhaled9835 Год назад +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 Месяц назад

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

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

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

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

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

  • @K.Huynh.
    @K.Huynh. Год назад

    thank for sharing.

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

    jaza k Allah khair brother ,really grateful

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

    thank you so much from Russia

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

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

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

    Thanks buddy! It works!

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

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

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

  • @菜菜-n3v
    @菜菜-n3v 11 месяцев назад

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

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

      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

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

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

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

    Thank you so much for saving my time 😀

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

    Thank you this is working for me

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

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

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

    thanks buddy works for me , a helpful video

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

    amazing video bro it helped a lot

  • @GaborSzabo-g1y
    @GaborSzabo-g1y Месяц назад

    Thanks! very helpfull!

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

    Thanks!

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

    great job bro

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

    thank you so much really appreciated for the video

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

    Absolute lifesaver, thank you!

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

    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.

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

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

    Amazing Bro!

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

    Thank you so much!! 👍