craftzdog
(Takuya Matsuyama)
October 20, 2026, 1:35pm
4
Thanks for the crash log!
It turns out that Nitro (one of the core modules for React Native) uses symbols that only exist iOS >= 18.
I sent a PR to the repository:
main ← craftzdog:fix/ios-below-18-exception-ptr
opened 01:29PM - 20 Oct 26 UTC
Hi! My user reported that [he can't use my app on iPadOS 16](https://forum.inkdr… op.app/t/inkdrop-fails-to-open-on-ipad-pro-9-7-inch-running-ipados-16-7-16/5606/3).
Tested it locally.
## Summary
Apps built with Xcode 27.1 crash at launch on iOS < 18 (dyld, before `main`):
```
Termination: DYLD, Symbol missing
Symbol not found: __ZNSt13exception_ptr31__from_native_exception_pointerEPv
Referenced from: <app binary>
Expected in: /usr/lib/libc++.1.dylib
```
`std::exception_ptr::__from_native_exception_pointer` only exists in the iOS 18+ libc++. When `RuntimeError.hpp`'s inline `makeException()` is compiled through Swift's C++ interop (`RuntimeError.swift` → `toCpp()`), `std::make_exception_ptr` picks libc++'s iOS 18+ implementation even though the deployment target is lower. The plain C++ translation units that call `std::make_exception_ptr` correctly use the fallback; only the Swift-compiled `RuntimeError.o` doesn't.
## Changes
- `makeException()` builds the `exception_ptr` via `throw` + `std::current_exception()`. That's the same fallback libc++ itself uses below iOS 18.
- Same change for the inline `~Promise()` timeout rejection, since Swift-compiled code can instantiate it too.
## Test plan
Built the `NitroModules` pod (Release, iphoneos, Xcode 27.1 / iPhoneOS 27.1 SDK, deployment target 15.1) and checked `nm -u libNitroModules.a`:
- Before: `RuntimeError.o` references `__from_native_exception_pointer` and `__cxa_init_primary_exception`
- After: no references; only `current_exception` / `__cxa_throw` etc.
Found via a real-world launch crash on iPadOS 16.7.16.
Hopefully, they will merge it and it will be able to run on your iPad again soon.
However, I’m not sure if I can keep supporting iPadOS16 in the future. For example, I’m planning to add more modern features like liquid glass support.
Meanwhile, I have to raise the minimum iOS version to 18.
Thanks again for your patience and understanding!