100 多个关于新 react-native 项目的构建时问题 [英] 100+ buildtime issues on fresh react-native project

查看:30
本文介绍了100 多个关于新 react-native 项目的构建时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建 react-native 应用程序时,构建成功,但 Xcode 在构建时日志中记录了 100 多个问题.这正常吗?

When building a react-native app, the build succeeds, but Xcode logs more than 100 issues in the buildtime log. Is this normal?

我所做的只是:

  1. 已安装 Xcode (9.2)
  2. brew 安装节点 (9.9.0)
  3. brew install watchman (4.9.0)
  4. npm install -g react-native-cli (2.0.1)
  5. cd ~/Development &&react-native init 测试
  6. 打开 ios/Test.xcodeproj 并点击运行按钮(iPhone 8 模拟器)

再次 - 构建成功.但是日志中的所有问题都与我有关,我无法找到其他有相同问题的人.

Again - the build succeeds. But all the issues in the logs concerns me and I was not able to find others with the same issue.

推荐答案

那些警告不是什么大问题.各种 RCT 项目是使用旧版本的 Xcode 创建的.Xcode 建议您将项目更新为 Xcode 的推荐设置.

Those warnings are not a big issue. The various RCT projects were created with an older version of Xcode. Xcode is suggesting you update the projects to Xcode's recommended settings.

要更新为推荐设置,请选择屏幕截图中显示的更新为推荐设置警告之一.将打开一张纸.单击执行更改按钮以更新项目设置.

To update to the recommended settings, select one of the Update to recommended settings warnings shown in your screenshot. A sheet will open. Click the Perform Changes button to update the project settings.

这篇关于100 多个关于新 react-native 项目的构建时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆