【发布时间】:2020-01-07 23:26:58
【问题描述】:
所以我最近升级了我的 React Native 项目,这导致我的应用程序无法在 XCode 中构建。版本没变,但好像有些文件和文件夹已经不存在了。
我得到的错误是来自 String.cpp(第三方):
#include <double-conversion Groupcctype>
'double-conversion Groupcctype' file not found
我已经尝试了这些解决方案(重新安装第三方库),但它们似乎不起作用:
https://github.com/facebook/react-native/issues/21168
$ cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../
$ cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh && cd ../../../../
当我从上面运行第一行时,我在命令行中收到此错误:
./ios-install-third-party.sh: line 61: ./ios-configure-glog.sh: No such file or directory
我尝试了其他想法,但它们也没有奏效。
有人知道如何解决这个问题吗?
【问题讨论】:
标签: c++ reactjs xcode react-native