Skip to content

0.81 iOS release 包会出现rn引擎启动崩溃,不知道需要做什么配置 #55533

Description

@PangRM

Description

0.81 iOS release 包会出现rn引擎启动崩溃,不知道需要做什么配置

Steps to reproduce

Xcode Archive. 的包

React Native Version

0.81.5

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

warn Multiple Podfiles were found: Podfile,mmsharedkmp/iosApp/Podfile,flutter/dev/benchmarks/complex_layout/ios/Podfile,flutter/dev/benchmarks/complex_layout/macos/Podfile,flutter/dev/benchmarks/macrobenchmarks/ios/Podfile,flutter/dev/benchmarks/macrobenchmarks/macos/Podfile. Choosing Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/main/docs/configuration.md
System:
  OS: macOS 26.2
  CPU: (8) x64 Apple M1
  Memory: 34.69 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.19.6
    path: /usr/local/opt/node@20/bin/node
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: /usr/local/opt/node@20/bin/npm
  Watchman:
    version: 2025.11.10.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.5
      - iOS 18.5
      - macOS 15.5
      - tvOS 18.5
      - visionOS 2.5
      - watchOS 11.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.3 AI-243.24978.46.2431.13208083
  Xcode:
    version: 16.4/16F6
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.5
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.1.0
    wanted: ^20.0.0
  react:
    installed: 19.1.0
    wanted: 19.1.0
  react-native:
    installed: 0.81.5
    wanted: 0.81.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

Date/Time:           2026-02-11 09:47:31.1925 +0800
Launch Time:         2026-02-11 09:47:27.7706 +0800
Hardware Model:      iPhone16,1
OS Version:          iPhone OS 26.2.1 (23C71)
Release Type:        User
Baseband Version:    3.20.03

Crash Reporter Key:  ab1380d83759e57645502e967561dcda84251fc5
Incident Identifier: 3FBEE33E-5212-4478-B5A5-876D3D69B441

Time Awake Since Boot: 300000 seconds

Triggered by Thread: 28  com.facebook.react.runtime.JavaScript

Exception Type:    EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000017
Exception Codes:   0x0000000000000001, 0x0000000000000017

Termination Reason:  Namespace SIGNAL, Code 11, Segmentation fault: 11
Terminating Process: exc handler [52259]


VM Region Info: 0x17 is not in any region.  Bytes before following region: 4310040553
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   100e60000-104364000 [ 53.0M] r-x/r-x SM=COW  /var/containers/Bundle/Application/9E28C435-A49E-44AF-94F3-CFEB5420B55A/xxxx.app/xxxxx

hread 28 name:  com.facebook.react.runtime.JavaScript
Thread 28 Crashed:
0   hermes                        	       0x1062fe50c facebook::hermes::(anonymous namespace)::HermesRuntimeImpl::debugJavaScript(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, facebook::hermes::IHermes::DebugFlags const&) + 120
1                          	       0x102158d18 facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0::operator()(facebook::jsi::Runtime&) const + 111 (ReactInstance.cpp:402) [inlined]
2                          	       0x102158d18 decltype(std::declval<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0&>()(std::declval<facebook::jsi::Runtime&>())) std::__1::__invoke[abi:ne180100]<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0&, facebook::jsi::Runtime&>(facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0&, facebook::jsi::Runtime&) + 111 (invoke.h:344) [inlined]
3                          	       0x102158d18 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ne180100]<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0&, facebook::jsi::Runtime&>(facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0&, facebook::jsi::Runtime&) + 111 (invoke.h:419) [inlined]
4                          	       0x102158d18 std::__1::__function::__alloc_func<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0, std::__1::allocator<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0>, void (facebook::jsi::Runtime&)>::operator()[abi:ne180100](facebook::jsi::Runtime&) + 111 (function.h:169) [inlined]
5                          	       0x102158d18 std::__1::__function::__func<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0, std::__1::allocator<facebook::react::ReactInstance::initializeRuntime(facebook::react::ReactInstance::JSRuntimeFlags, std::__1::function<void (facebook::jsi::Runtime&)>)::$_0>, void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&) + 163 (function.h:311)
6                          	       0x1021b9b40 std::__1::__function::__value_func<void (facebook::jsi::Runtime&)>::operator

MANDATORY Reproducer

1

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: InvalidThis issue does not belong here. Applying this label will cause issue to be closed.Type: Unsupported VersionIssues reported to a version of React Native that is no longer supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions