Reputation: 2280
I am trying to build my react native app on Xcode but for some reason I am getting 'React/RCTDefines.h' file not found. This is happening after tried to add OneSignal push notification library.
Initially it was complaining about libRTCAnimation but this I fixed by adding the libRTCAnimation.a into Link Binary with Libraries.
Upvotes: 0
Views: 5087
Reputation: 701
I had the same error when trying to install Onesignal into detached expo project. I fixed it to do next things:
Added next code into pod file:
pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal'
do `pod install'
Upvotes: 1