问题 运行 react native 模拟器 ios

Problem running react native simulator ios

我遇到问题 运行 npx react-native run-ios

问题是

warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures 
and Valid Architectures build settings are configured correctly for the iOS Simulator platform. 
(in target 'React-cxxreact' from project 'Pods')

warning: None of the architectures in ARCHS (x86_64) are valid. 
Consider setting ARCHS to $(ARCHS_STANDARD) 
or updating it to include at least one value from VALID_ARCHS (i386, x86_64) which is not in EXCLUDED_ARCHS (x86_64). 
(in target 'React-cxxreact' from project 'Pods')

我正在使用

"react-native": "0.65.1"

"react": "17.0.2"

Osx Mojave, with Excode 11

如何解决问题,先谢谢了

react native cli 和我的 xcode 中的问题,当我使用 expo 创建新项目并注入时问题已解决