React native Setup for iOS simulator on Macbook M1 2021 - fixing issues with (cocoapods & build).

preview_player
Показать описание
This video have the solution for the problem I encountered while setting up the environment for react native on MacBook Air M1 2020

I was not able to run this code "sudo gem install cocoapods"
1- So I had to change Terminal to be used under Rosetta
2- I changed Xcode also to work under Rosetta
Other problem was error 65
and the solution is in the video also

Updated solution (May 2021):
First run your terminal and Xcode with Rosetta from this then check this video

Edit: My new video on how to use android emulator (Made by google) on M1 Macbook:

Like this video if it was useful & you can subscribe for support 👍
Рекомендации по теме
Комментарии
Автор

You are BOSS!! You saved my life... I was planning to return my MACBOOK Pro M1. Thanks again.

ganeshkhedkar
Автор

Huge respect. I've been trying to solve this for almost 2 days. Thanks a lot!

gabrit
Автор

For those people who have the 'RTC-Folly' Error, this works! Thank you!

arielsolanos
Автор

Thank you so much after struggling 1 Month finally got the solution but please make a video for android emulator also for Mac M1 it will be a big help for React native developers

dineshgaur
Автор

FINALLY, AFTER 4HRS I RESOLVED THIS ISSUE, THANKS

NitinSingh-cslp
Автор

thx dude.. nothing had worked until this video!

jrk
Автор

Thank you so much man. You are a legend. Just subscribed and also turned on the notification bell. 😍

dottechnoologies
Автор

Thank you for your suggestions to:
1) Set Terminal to "Rosetta" mode. I haven't even thought about it! Xcode I set before, but not the Terminal
2) "npx react-native run-ios" is really something to try for other folks IF the build is not compiling in Xcode. Sometimes running from Terminal directly makes more sense than a buggy Xcode

Thanks again!

NomadicDmitry
Автор

Oh My God, your help was priceless! Thank you very much.

TheDSHAND
Автор

Thank you so much your effort @NourCoding. I have been struggling to run RN on my new M1 macbook pro. Your method with the pod install fixes the issue when running from xcode but still shows the
AMSupportURLSession is implemented in both ?? (***) and ?? (***). One of the two will be used. Which one is undefined. issue.
** BUILD FAILED **
---
Any thoughts on this?
Thank you again.

viwkiru
Автор

Thanks so much. I looking for this solution for several days in many videos and websites.

barrosabreu
Автор

dude thanks! been trying to figure this out for hours lol. knew it had to be something simple like this 🤦🏾‍♂️

uberlit
Автор

thank you so much you save my life i lost my 5 days finaly i got the solution than you so much again

WEOOLTECNOLOGY
Автор

Thanx Brother my issues has been resolved because of was getting error during pod installation and after watching your video the issue has been gone Superb

trendingshorts-
Автор

Selamun Aleykum, I am trying to compile for iOS with Expo, but I constantly encounter "install pods" errors, can you help?

omerkilincc
Автор

I was about to sell a mac, thank you very much

leonardomuller
Автор

Thank you kind sir, it worked. But I have a question. What are those line you commented out?

miketkachenko
Автор

Hi Nour, I tried to open with Rosetta but I don't have the Rosetta option. Any idea? Thanks

amisoliman
Автор

I’m have an error with it installing bundled. Would you know how to fix it?

bilaalali
Автор

Thank you so so much sir, you have really saved my time after surfing for 3 good days you finally got the solution to my troubles
May God bless you and save your time just as you did,
Thank you again for the good work

andrewsmichael
welcome to shbcf.ru