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

RNDateTimePickerCGen/EventEmitters.h file not found #826

Open
muskaanbakshi opened this issue Oct 12, 2023 · 3 comments
Open

RNDateTimePickerCGen/EventEmitters.h file not found #826

muskaanbakshi opened this issue Oct 12, 2023 · 3 comments

Comments

@muskaanbakshi
Copy link

muskaanbakshi commented Oct 12, 2023

I want to use this library with a New Architecture system. However if I run RCT_NEW_ARCH_ENABLED=1 npx pod-install which enables New architecture and then try to run the build I get this error:

@react-native-community/datetimepicker/ios/fabric/cpp/react/renderer/components/RNDateTimePicker/ShadowNodes.h:12:10: fatal error: 'react/renderer/components/RNDateTimePickerCGen/EventEmitters.h' file not found

Build runs fine if I do simple pod install or npx pod-install. But I want this library with New architecture as well.

Version of datetimepicker: 7.4.1
Version of react native: 0.71.11
Version of cocoapods: 1.12.0

@muskaanbakshi muskaanbakshi mentioned this issue Nov 2, 2023
5 tasks
@sudhanshusirohia
Copy link

I am also facing same issue, any update on this, can't find RNDateTimePickerCGen folder

@adamsolomon1986
Copy link

adamsolomon1986 commented Feb 7, 2024

This is still happening 'react/renderer/components/RNDateTimePickerCGen/EventEmitters.h' file not found

Screenshot 2024-02-07 at 1 25 17 PM

@muskaanbakshi
Copy link
Author

muskaanbakshi commented Feb 9, 2024

@adamsolomon1986 which version of datetimepicker and Xcode are you using?

I'm now using version 6.2.0 of datetimepicker in my project and that version is working fine. But this issue does exist in latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants