Great package and worked great on web and Android, but then I went to build on iOS and I got:
$ npx expo prebuild
[...]
✔ Finished prebuild
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: CocoaPods could not find compatible versions for pod "react-native-date-picker":
In Podfile:
react-native-date-picker (from `../node_modules/@s77rt/react-native-date-picker`)
Specs satisfying the `react-native-date-picker (from `../node_modules/@s77rt/react-native-date-picker`)` dependency were found, but they required a higher minimum deployment target.
pod install --repo-update --ansi exited with non-zero code: 1
I have a 2018 Macbook so I can't upgrade past macOS Sequoia (15) but it looks like @s77rt/react-native-date-picker requires at least macOS 16.
I know I have an ancient Macbook so I'm not looking for a fix and this is just an FYI. I needed to move forward quickly so I just switched to react-native-modal-datetime-picker and react-datepicker for native and web, respectively (which was much more complicated to code but worked okay).
Great package and worked great on web and Android, but then I went to build on iOS and I got:
I have a 2018 Macbook so I can't upgrade past macOS Sequoia (15) but it looks like
@s77rt/react-native-date-pickerrequires at least macOS 16.I know I have an ancient Macbook so I'm not looking for a fix and this is just an FYI. I needed to move forward quickly so I just switched to
react-native-modal-datetime-pickerandreact-datepickerfor native and web, respectively (which was much more complicated to code but worked okay).