Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNEventEmitter/RNEventEmitter.h file not found #207

Open
JoeToeniskoetter opened this issue Aug 5, 2022 · 12 comments
Open

RNEventEmitter/RNEventEmitter.h file not found #207

JoeToeniskoetter opened this issue Aug 5, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@JoeToeniskoetter
Copy link

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

@cjam
Copy link
Owner

cjam commented Aug 9, 2022

which version of the package are you using?

@JoeToeniskoetter
Copy link
Author

^0.3.10

@cjam cjam added the bug Something isn't working label Aug 9, 2022
@cjam
Copy link
Owner

cjam commented Aug 9, 2022

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

@taff134
Copy link

taff134 commented Aug 9, 2022

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

@cjam
Copy link
Owner

cjam commented Aug 10, 2022

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.

@adomoshe
Copy link

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

@shubh89193
Copy link

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 .

@matmac
Copy link

matmac commented Sep 9, 2022

+1 same happens to me! Any solution?

@cscs8
Copy link

cscs8 commented Jan 6, 2023

I solved by doing yarn add react-native-spotify-remote@1.0.0-1

@kloudmob
Copy link

I solved by doing yarn add react-native-spotify-remote@1.0.0-1

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

@thomasobadia
Copy link

I solved by doing yarn add react-native-spotify-remote@1.0.0-1

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

I do have this issue, did you manage to fix it ?

@vanLesson
Copy link

I've Managed to solve this issue, @cjam to solve the problem just add s.dependency 'RNEventEmitter' to podspec file of this library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants