运行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创建新项目并注入问题解决

最新更新