Mojave + Xcode 10 build fails on glog config.h, gflags/gflags.h

前端 未结 5 1424
故里飘歌
故里飘歌 2021-02-08 21:39

I\'m testing React Native 0.56.0-rc.2 on Mac OS Mojave and Xcode 10.

Running:

react-native init TestProject --version=\"0.56.0-rc.2\"
cd TestProject
npm          


        
5条回答
  •  抹茶落季
    2021-02-08 22:10

    Running this from the project directory fixed it for me:

    cd ./node_modules/react-native/third-party/glog-0.3.4 && ../../scripts/ios-configure-glog.sh

    This manually triggers the config script

提交回复
热议问题