You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error occurs when trying to display the picker on iOS:
ERROR Invariant Violation: requireNativeComponent: "RNCPicker" was not found in the UIManager.
This error is located at:
in RNCPicker (at PickerIOS.ios.js:198)
in RCTView (at View.js:116)
in View (at PickerIOS.ios.js:197)
in PickerIOS (at Picker.js:171)
in Picker (at src/index.js:474)
...
To Reproduce
Steps to reproduce the behavior:
On iOS, simply attempt to display the picker.
Expected behavior
The picker displays successfully.
Screenshots
n/a
Additional details
Device: iOS Simulator (iPhone 15 Pro Max)
OS: iOS 17.4
react-native-picker-select version: 9.0.1
react-native version: 0.73.4
expo sdk version: 50.0.8
Reproduction and/or code sample
n/a
The text was updated successfully, but these errors were encountered:
What I have found is that if you clean up enough things (Pods dir, Podfile.lock, node_modules dir), and then you run pod install manually from the ios dir, it will start working. It needs to regenerate the workspace. This is not specific to this control. I have seen this several times. It seems to be pervasive with react native on iOS when updating dependencies.
Describe the bug
The following error occurs when trying to display the picker on iOS:
ERROR Invariant Violation: requireNativeComponent: "RNCPicker" was not found in the UIManager.
This error is located at:
in RNCPicker (at PickerIOS.ios.js:198)
in RCTView (at View.js:116)
in View (at PickerIOS.ios.js:197)
in PickerIOS (at Picker.js:171)
in Picker (at src/index.js:474)
...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The picker displays successfully.
Screenshots
n/a
Additional details
Reproduction and/or code sample
n/a
The text was updated successfully, but these errors were encountered: