gpt4 book ai didi

ios - Mattermost 应用程序 mutex.h 文件中出现错误 : Config. h 文件未找到 Xcode 10.1

转载 作者:行者123 更新时间:2023-11-29 05:58:49 27 4
gpt4 key购买 nike

enter image description here

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

我在 mutex.h 文件中收到此错误“未找到 config.h 文件”。我使用的是 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 文件未找到相同的错误。

谢谢。

最佳答案

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

关于ios - Mattermost 应用程序 mutex.h 文件中出现错误 : Config. h 文件未找到 Xcode 10.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54872647/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com