react-native-datetimepicker / datetimepicker

React Native date & time picker component for iOS, Android and Windows
MIT License
2.5k stars 404 forks source link

RNDateTimePickerCGen/EventEmitters.h file not found #826

Open muskaanbakshi opened 11 months ago

muskaanbakshi commented 11 months ago

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

sudhanshusirohia commented 9 months ago

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

adamsolomon1986 commented 7 months ago

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

Screenshot 2024-02-07 at 1 25 17 PM

muskaanbakshi commented 7 months ago

@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.