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

前端 未结 5 1420
故里飘歌
故里飘歌 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 21:58

    A simple and quick resolution. In Xcode, go to File->Project/Workspace settings. Change the build system to Legacy Build system.

    This is the resolution from Wesley's link. Saw something the other day about posting the direct answer and trying to avoid linking because links / websites can change. I was going to leave this as a comment, but don't have enough rep.

提交回复
热议问题