React Native / Xcode Upgrade and now RCTConvert.h not found

前端 未结 10 2574
面向向阳花
面向向阳花 2020-11-28 05:03

App ran fine on React Native 0.35.0. After updating to 0.40.0 via react-native-git-upgrade I get a number of lexical/preprocessor issues when trying to build/ru

10条回答
  •  星月不相逢
    2020-11-28 05:26

    If your app isn't to large, just

    1) rename original app
    2) create the same app again react-native init 
    3) copy over all necessary files from your original app to the newly created one
    4) adjust the package.json
    5) npm install
    6) react-native run-
    

    I spent hours to find, where to link the new libraries, it was at least a valuable option and shortcut for me.

    hope it helps somebody

提交回复
热议问题