Build keeps failing on React Native with m1 & BigSur

I'm trying to build a project from scratch with React Native following the guideline.

After struggling for hours for just to install and modify Cocoapods, HomeBrew and others I found myself stuck at my build keep getting failed with error code 65.

I tried every solution (pod install, changing build settings, using Rosetta etc.) and still no luck.

Anyone experiencing this found a solution or should I give up and try to return my mac? (Macbook Pro 2020)
React Native is not a framework of Apple's.
You would get better responses sooner asking on the supporting site or community site of it.

i also experience some error issue when build on react native for iOS using Xcode. The important thing is: you have to set xcode and terminal to use Rosetta. You can follow the steps on this link : https://handi.dev/blog/how-run-react-native-on-macbook-m1-apple-silicon

i also experience some error issue when build on react native for iOS using Xcode. The important thing is: you have to set xcode and terminal to use Rosetta. You can follow the steps on this link : https://handi.dev/blog/how-run-react-native-on-macbook-m1-apple-silicon

Build keeps failing on React Native with m1 & BigSur
 
 
Q