【问题标题】:Problem running react native simulator ios运行反应本机模拟器ios的问题
【发布时间】: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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-28
      • 2023-03-29
      • 2015-01-16
      • 2021-06-17
      相关资源
      最近更新 更多