【问题标题】:How do I resolve this "'double-conversion Groupcctype' file not found" issue?如何解决此“找不到‘双重转换 Groupcctype’文件”问题?
【发布时间】: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


    【解决方案1】:

    改变这个:

    #include <double-conversion Groupcctype>  
    

    到这里:

    #include "double-conversion.h"  
    

    或:

    #include <double-conversion/double-conversion.h> // V8 JavaScript implementation
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-09-14
      • 2021-09-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-30
      • 1970-01-01
      • 2011-06-09
      相关资源
      最近更新 更多