React Native [0.77.0]:- Thread 1: "-[RCTView setColor:]: unrecognized selector sent to instance 0x1196c6970"
オープン
まだ誰も着手していません。
Needs: Repro
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
NativeBaseProvider not working
Steps to reproduce
- Create a new React Native project (react native version "0.77.0")
- Install NativeBase
- Install iOS dependencies using pod install.
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた NativeBase の setup-provider リプロデューサーから始め、iOS 上で React Native 0.77.0 を使用してクラッシュを再現します。Xcode の例外と NativeBaseProvider の統合を調査します。報告されたセットアップで、RCTView の setColor セレクターによるクラッシュなしに provider が実行されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 42/100