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

前端 未结 10 2536
面向向阳花
面向向阳花 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:39

    This steps helped solve my issue. I tried "Uncheck parallelize build" steps. It did not work for me.

    1. Open up your project in XCode.
    2. Open up the Libraries folder. You should see React.xcodeproj and several RCT*.xcodeproj.
    3. Drag the React.xcodeproj into each of the other projects.
    4. Click on each project and navigate to the Build Phases tab.
    5. Click on Target Dependencies and add React as a target dependency

提交回复
热议问题