react-native-spotify-remote icon indicating copy to clipboard operation
react-native-spotify-remote copied to clipboard

RNEventEmitter/RNEventEmitter.h file not found

Open JoeToeniskoetter opened this issue 3 years ago • 12 comments
trafficstars

I'm getting error 'RNEventEmitter/RNEventEmitter.h' file not found when building the project. I'm using react native version 0.69.0. I've tried removing and reinstalling pods and node modules but still didn't work. Is there a dependency missing in the project?

Thank you

JoeToeniskoetter avatar Aug 05 '22 19:08 JoeToeniskoetter

which version of the package are you using?

cjam avatar Aug 09 '22 16:08 cjam

^0.3.10

JoeToeniskoetter avatar Aug 09 '22 16:08 JoeToeniskoetter

k, there was a PR to remove the dependency but clearly something is still requiring the .h file.

cjam avatar Aug 09 '22 16:08 cjam

Checking in to report I'm experiencing the same issue on version: 0.3.10, using react-native: 0.68.2

taff134 avatar Aug 09 '22 19:08 taff134

and just to confirm, you have adjusted your Pod file as per the readme? https://github.com/cjam/react-native-spotify-remote/tree/v0.3.10#cocoapods-recommended?

You could also try using the next version which has removed the dependency on this library, but has introduced some breaking changes.

cjam avatar Aug 10 '22 12:08 cjam

Ran into this issue as well, ended up just installing native events npm i react-native-events and the error went away.

adomoshe avatar Aug 23 '22 05:08 adomoshe

I am using "react-native-spotify-remote": "^0.3.11-0" this version facing same issue in this lib , previously this was not there but somehow I rebuild the project and this error occurred .

shubh89193 avatar Sep 06 '22 10:09 shubh89193

+1 same happens to me! Any solution?

matmac avatar Sep 09 '22 18:09 matmac

I solved by doing yarn add [email protected]

cscs8 avatar Jan 06 '23 08:01 cscs8

I solved by doing yarn add [email protected]

Did you not get architechture arm64 missing error while running on Xcode 15?

kloudmob avatar Feb 17 '24 20:02 kloudmob