美文网首页iOS集成ReactNavite
React Native Xcode 10 - 'con

React Native Xcode 10 - 'con

作者: 精神病患者link常 | 来源:发表于2018-09-27 12:05 被阅读345次

    ReactNative 新建项目 Xcode 运行出错

    'config.h' file not found

    cd node_modules/react-native/third-party/glog-0.3.4 注意glog-0.3.4 可能是glog-0.3.5
    ./configure

    cannot run C compiled programs.

    uname -m

    image.png

    ./configure --host=x86_64

    Build input file cannot be found: '/Users/liepin/Desktop/XXX/node_modules/react-native/Libraries/WebSocket/libfishhook.a'

    image.png

    删除重新添加

    Module @babel/runtime/helpers/interopRequireDefault

    image.png

    npm add @babel/runtime
    关闭服务,再次运行

    相关文章

      网友评论

        本文标题:React Native Xcode 10 - 'con

        本文链接:https://www.haomeiwen.com/subject/qvheoftx.html