The riv parameter cannot be set via the SDK
Hi Team,
We're using RiveRuntime (6.11.3) to load a pre-rive file. When loading the file using the View Model method (View Model Name = ProgressBar), the SDK crashes.
Using the code block:
var progressVM = RiveViewModel(fileName: "progress_bar__state_machine_bind", stateMachineName: "State Machine 1", artboardName: "Progress Bar M")
Reference Documentation:
https://rive.app/docs/runtimes/data-binding#apple-2
When loading the Rive file using the automatic binding method, I get the error: "Could not find a View Model linked to Artboard Progress Bar M."
Reference Documentation:
https://rive.app/docs/runtimes/data-binding#auto-binding
Here is the riv file:
https://drive.google.com/file/d/1TWAypa9Q968VOT5VeOT6Mg1rurpkgdhr/view?usp=drive_link
How can I troubleshoot and locate the issue?
Looking forward to your response.