DEV Community

Suulola Oluwaseyi
Suulola Oluwaseyi

Posted on

Error encountered while setting up React Native using Apple's M1 chip system

First of all, having read a lot of information online - i knew it was not gonna be an easy ride running my existing project on Apple's M1 chip

The first thing I did was to create an empty project after following the React Native environment setup documentation on

Thereafter, I ran

npx react-native init AwesomeTSProject --template react-native-template-typescript

to create a broilerplate project. The initailization was successful until I ran npm run ios

1st Error: Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.

Solved that by following this Stackoverflow post at

At this stage, my project launched successfully.

Funny enough, I have answered a Stackoverflow question before relating to this at but yet my solution didnt come to me at the moment i had the issue.

After applying the fix, I was able to run my app successfully.

The second stage involves bringing in my existing codebas.

Top comments (0)