question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install datetimepicker for ios

See original GitHub issue

Question

I try to install datetimepicker by following the docs but can’t seem to succeed.

Upon pod install I get the following error message:

Fetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec Fetching podspec for Folly from ../node_modules/react-native/third-party-podspecs/Folly.podspec Fetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec [!] Unable to find a specification for React-Core depended upon by RNDateTimePicker

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Tried running pod repo update but no effect.

My RN version is: 0.59.10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vonovakcommented, Feb 8, 2021

Hello, I’m sorry to heard that. Off the top of my head I cannot tell what is wrong, I would need a runnable repro for that, and even with the repro I have other work on my plate right now so I’m sorry. Try googling for that error. Thanks

0reactions
VilleMiekkojacommented, Feb 8, 2021

Was able to get it working by linking this library manually: https://archive.reactnative.dev/docs/linking-libraries-ios

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not install @react-native-community/datetimepicker as a ...
Summary If I try to add '@react-native-community/datetimepicker' via import i get the following error: Failed to resolve dependency ...
Read more >
react-native-community/datetimepicker - npm
React Native date & time picker component for iOS, Android and Windows. ... the command expo install @react-native-community/datetimepicker ...
Read more >
React Native DateTimePicker not Opening in IOS
I had the same problem as of June 26, 2020, with this version: "@react-native-community/datetimepicker": "2.2.2".
Read more >
react-native-modal-datetime-picker | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
DateTimePicker - Expo Documentation
DateTimePicker. A component that provides access to the system UI for date and time selection. Platform Compatibility. Android Device, Android Emulator, iOS ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found