Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

iOS precompiled binaries in React Native 0.84.1 ignore custom Metro ports

オープン
#57,496 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
react-native
領域
mobile

調査の方向性

https://github.com/Sacha1995/RN084MetroPortRepro の必須の reproducer から始め、issue に記載されたコマンドを使って Metro と iOS アプリをポート 8082 で実行します。次に、iOS のプリコンパイル済みバイナリが Metro の接続 URL をどのように受け取るか、または構築するかを追跡し、React Native 0.84.1 と、それ以前に動作していたバージョンを比較します。アプリがデフォルトのポートにフォールバックせず、カスタムポートで Metro に接続できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Needs: Triage :mag: Platform: iOS
Description

React Native 0.84.1 introduces a regression where iOS builds using the precompiled binary do not respect custom Metro bundler ports.

When running Metro on a non-default port, the application is unable to connect correctly and behaves as though it is still attempting to use the default port. This prevents development workflows that require running Metro on an alternative port.

This issue appears to be specific to iOS builds using the precompiled binary and was not present in the previous React Native version tested.

Steps to reproduce
  • Clone the reproduction repository.
  • Install dependencies:
    npm install
  • Start Metro on a custom port:
    npx react-native start --port 8082
  • In another terminal, build and run the iOS application using the custom Metro port:
    npx react-native run-ios --port 8082
  • Observe that the application does not connect to Metro running on port 8082 when using the iOS precompiled binary and instead attempts to use the default Metro port.
React Native Version

0.84.1

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info
System:
  OS: macOS 26.5.1
  CPU: (14) arm64 Apple M4 Pro
  Shell:
    version: "5.9"
    path: /bin/zsh

Binaries:
  Node:
    version: 22.11.0
  npm:
    version: 10.9.0
  Watchman:
    version: 2025.10.27.00

Managers:
  CocoaPods:
    version: 1.16.2

SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0

IDEs:
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild

Languages:
  Java:
    version: 17.0.17
  Ruby:
    version: 3.2.2

npmPackages:
  "@react-native-community/cli":
    installed: 20.1.3
    wanted: 20.1.3
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.84.1
    wanted: 0.84.1

iOS:
  hermesEnabled: true
  newArchEnabled: true
Stacktrace or Logs
No stack trace is generated. The application launches, but it is unable to connect to the Metro bundler when using a non-default port.

The simulator says: 
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.
MANDATORY Reproducer

https://github.com/Sacha1995/RN084MetroPortRepro

Screenshots and Videos

No response

主要言語
C++
スター
127k
フォーク
25.3k
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react/react-native のほかの issue

react/react-native の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。