Skip to content

ERROR Invariant Violation: requireNativeComponent: "RNCPicker" was not found in the UIManager. #546

Open
@wongk

Description

@wongk

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions