NativeScript iOS Daily: Wrapper Lifetime Overhaul and Catalyst JIT
Four linked runtime changes rework how Objective-C wrappers stay alive, adding diagnostics and an opt-in rooted mode, while a separate change enables the V8 JIT on Mac Catalyst. The default lifetime behavior is unchanged, but developers get new warnings and a faster Catalyst path.
Duration: PT2M21S
Episode overview
This episode is a short developer briefing from NativeScript iOS Daily.
It explains recent repository work in plain language.
- Show: NativeScript iOS Daily
- Published: 2026-11-18T14:14:49Z
- Audio duration: PT2M21S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Hello and welcome to NativeScript iOS Daily for November 18th, 2026.
The dominant pattern is wrapper lifetime — how JavaScript wrappers around Objective-C objects stay alive and get released — with four linked changes moving away from resurrection finalizers toward opt-in rooted tracking.
The foundation is PR 558. It changes no lifetime behavior, but makes released wrappers safe to touch. Previously a released wrapper could reach native code as the wrong object, like a dictionary where a color was expected. Now it carries a released reason and is routed through policy: arguments become nil or throw a…
Built on that, PR 559 adds the new rooted mode behind an app config flag. The default stays resurrecting, so nothing changes unless you opt in. In rooted mode, wrappers use phantom handles instead of finalizers, releases are queued to the runtime thread, and a major garbage collection scan compares the native retain…
PR 579 fixes the ownership check both modes depend on. The retain count lookup could call into JavaScript if an app replaced retain count, which crashes the collector, and it misread all timers as unowned, losing JavaScript state. It now reads only the native…
The second…
Nearby episodes from NativeScript iOS Daily
- Ada 4.1.1 URL Parser Upgrade
- Wrapper Lifetimes, Remote Modules, and Platform Floor
- Canary Wrapper Lifetime Arrives
- Worker Test Timeout Fix
- Runtime Ownership and Property Bridging Fixes
- Runtime Memory Fixes and Leaner Releases
- iOS Runtime Memory Retention Fixes
- Wrapper Lifetime Overhaul and Thread-Safe Releases