【问题标题】:Mattermost app Error in mutex.h file: Config.h file not found Xcode 10.1mutex.h 文件中最重要的应用程序错误:找不到 Config.h 文件 Xcode 10.1
【发布时间】:2019-02-28 01:22:40
【问题描述】:

我正在使用这个 github 代码。 https://github.com/mattermost/mattermost-mobile

我在 mutex.h 文件中收到此错误“config.h file not found”。我正在使用 MacOS High sierra 10.13.6 和 Xcode 10.1。在 glog-0.3.5 文件夹中,我已经完成了以下解决方案。

1- 关闭 Xcode。

2- cd /node_modules/react-native/third-party/glog-0.3.5

3- 运行 ./configure

4- 运行 make

5- 运行 make install

6- 打开 Xcode 并尝试构建项目。

在该 glog 文件夹中显示 config.h 文件的结果,但是当我在 Xcode 中编译项目时,它再次从 glog 文件夹中删除。 Xcode 给出了与 config.h 文件未找到相同的错误。

谢谢。

【问题讨论】:

    标签: ios xcode xcode10.1 mattermost


    【解决方案1】:

    我从 mattermost 应用程序中删除了 glog 文件夹,并通过创建一个新的 react native 项目在目录中添加了一个新的 glog 文件夹,并将其替换为 mattermost 代码目录中的旧 glog 文件夹。它对我有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-26
      • 1970-01-01
      • 2018-12-18
      • 2019-08-20
      • 2021-10-04
      相关资源
      最近更新 更多