【发布时间】:2021-11-29 06:33:21
【问题描述】:
我在运行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
如何解决问题,在此先感谢
【问题讨论】:
标签: xcode react-native macos-mojave