facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.3k stars 24.35k forks source link

Compile jsbundle to hbc on iOS #47586

Open nanatlantica opened 4 days ago

nanatlantica commented 4 days ago

Description

Currently, my RN server is sending the jsbundle file, but the server cannot temporarily send the hbc file. I am now using Hermes engine version 0.75. How can I compile the jsbundle file into an hbc file on the iOS client and use it?

Steps to reproduce

Currently, my RN server is sending the jsbundle file, but the server cannot temporarily send the hbc file. I am now using Hermes engine version 0.75. How can I compile the jsbundle file into an hbc file on the iOS client and use it?

React Native Version

0.75.0

Affected Platforms

Runtime - iOS

Output of npx react-native info

macOS : 15.0.1
iOS : 16.7.10

Stacktrace or Logs

null

Reproducer

https://github.com/nanatlantica/RNDynamic.git

Screenshots and Videos

No response

react-native-bot commented 4 days ago

[!TIP] Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.75.4. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

react-native-bot commented 4 days ago

[!TIP] Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.