AnimaScript (scripting: wasm) scripts don't run on iOS: "ScriptAsset doesn't have a generator fun...

A .riv file built with the Rive CLI using AnimaScript (`scripting: wasm` in rive.yaml) loads successfully in a native iOS app, but none of the scripts execute.

The runtime logs a missing generator function for the script asset. The same file plays correctly in [Rive CLI preview / Editor].

Console output Rive:
Command Server Scripting Enabled.
✅ [script] File loaded
ScriptAsset doesn't have a generator function DebugHello