react / react/react-native

React Native [0.77.0]:- Thread 1: "-[RCTView setColor:]: unrecognized selector sent to instance 0x1196c6970"

Open
#49,323 39 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Repro
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Description

NativeBaseProvider not working

Steps to reproduce
  1. Create a new React Native project (react native version "0.77.0")
  2. Install NativeBase
  3. Install iOS dependencies using pod install.
  4. Run the project
    and then error will appear in Xcode
    the following error appears:-
    Thread 1: "-[RCTView setColor:]: unrecognized selector sent to instance 0x1196c6970"
React Native Version

0.77.0

Affected Platforms

Runtime - iOS

Output of npx react-native info
System:
  OS: macOS 14.7.2
  CPU: (8) arm64 Apple M1
  Memory: 196.75 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.6.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v18.20.5/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/privateFolder/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /usr/bin/javac
  Ruby:
    version: 3.1.2
    path: /Users/privateFolder/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.77.0
    wanted: ^0.77.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true
Stacktrace or Logs
An abort signal terminated the process. Such crashes often happen because of an uncaught exception or unrecoverable error or calling the abort) function.
Reproducer

https://docs.nativebase.io/setup-provider

Screenshots and Videos

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked NativeBase setup-provider reproducer and reproduce the crash using React Native 0.77.0 on iOS. Inspect the Xcode exception and the NativeBaseProvider integration; done means the provider runs without the RCTView setColor selector crash in the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.