henninghall / react-native-date-picker

React Native Date Picker is datetime picker for Android and iOS. It includes date, time and datetime picker modes. The datepicker is customizable and is supporting different languages. It's written with native code to achieve the best possible look, feel and performance.
MIT License
2.25k stars 346 forks source link

Cannot find DatePickerIOS module for 'react-native-date-picker' on only IOS #746

Closed gunjankumar58 closed 10 months ago

gunjankumar58 commented 10 months ago

Output of npx react-native info System: OS: macOS 14.2.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 461.74 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node Yarn: Not Found npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm Watchman: Not Found Managers: CocoaPods: 1.14.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2 Android SDK: Android NDK: 22.1.7171670 IDEs: Android Studio: 2023.1 AI-231.9392.1.2311.11076708 Xcode: 15.1/15C65 - /usr/bin/xcodebuild Languages: Java: 11.0.16.1 - /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.67.4 => 0.67.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce import DatePicker from 'react-native-date-picker';

<DatePicker modal open={dateOpen} date={date mode="date" onConfirm={date => {setDate(date)}} onCancel={() => { setDateOpen(false); }} /> Error: None of these files exist:

ios simulator version: ios 17.2 ![Uploading Screenshot 2023-12-29 at 12.23.37 PM.png…]()

leohooho commented 10 months ago

same

henninghall commented 10 months ago

Unrelated to this package. It’s an issue in react native itself: https://github.com/facebook/react-native/issues/36794

Upgrading react native version might help.