【问题标题】:Xcode 10 - Can't Build React Native ApplicationXcode 10 - 无法构建 React Native 应用程序
【发布时间】:2018-10-07 01:21:19
【问题描述】:

自从更新 Xcode 10 后,我无法在物理设备或模拟器上构建和运行我的应用程序。我已经尝试通过终端和直接通过 Xcode。我尝试过的:

  1. 删除我的 repo 并重新拉取。
  2. https://github.com/facebook/react-native/issues/19573
  3. https://github.com/facebook/react-native/issues/14382
  4. https://medium.com/@swyx/if-you-get-a-third-party-config-h-35a3c54e9278
  5. Print: Entry, ":CFBundleIdentifier", Does Not Exist
  6. "config.h" file not found in iOS project of React native

我不知道还能做什么。我已经遇到了上述链接中列出的所有错误。我目前遇到的主要问题是config.h does exist 和cfbundleidentifier", does not exist。

【问题讨论】:

  • React-native 升级
  • @agibson007。我做到了。
  • 您链接到了这个 SO 问题,但由于对我有用的答案不是被接受的答案,所以它是:stackoverflow.com/a/51552501/7551248 对我有用的是运行 ./configure 命令上面链接中提到的文件夹,并将构建类型更改为 Legacy,如您链接的第一个 Github 问题所示

标签: ios react-native


【解决方案1】:

按照提供的所有链接中的说明进行操作后,我所需要做的就是运行npm audit fix,它就开始工作了。

【讨论】:

    猜你喜欢
    • 2023-03-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-03
    • 1970-01-01
    • 1970-01-01
    • 2020-08-06
    • 1970-01-01
    相关资源
    最近更新 更多