[!]无效的Podfile
文件:无法加载此类文件--/Users/hirencheta/Desktop/ErgoAuditor_repo/node_modules/areact native/scripts/react_anative_pods。
来自/Users/hirencheta/Desktop/ErgoAuditor_repo/ios/Podfile:1
require_relative’/node_modules/areact native/scripts/react_anative_pods'require_relative’/node_modules/@react native community/cli platform ios/native_modules'
Mac M1架构与Cocoapods不直接兼容。你可以通过运行来解决这个问题
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
https://reactnative.dev/docs/environment-setup#:~:text=注意%20对于%20Mac,%20正确的%20架构。