React/RCTEventEmitter.h file not found

后端 未结 8 1485
梦谈多话
梦谈多话 2021-02-04 02:56

I am trying to implement PushNotificationIOS with a detached Expo app. I am running SDK 21.0.0 (React Native 0.48).

I am getting React/RCTEventEmitter file not fou

8条回答
  •  自闭症患者
    2021-02-04 03:08

    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

提交回复
热议问题