matmork / rive-maui

Rive animations in Maui using iOS/Android runtimes
MIT License
6 stars 1 forks source link

[iOS] Does not work on physical device (arm64) #5

Closed matmork closed 7 months ago

matmork commented 7 months ago

Running on a physical device in iOS results in crash.

Exception Type:  EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_INVALID_ADDRESS at 0x80000003002d12c0 -> 0x00000003002d12c0 (possible pointer authentication failure)

Will investigate...

hansmbakker commented 7 months ago

Probably this is not related? https://github.com/rive-app/rive-ios/issues/287

matmork commented 7 months ago

Got it working by calling the Objective-C directly and not via the swift wrapper. Will probably work when Swift Interop is available (maybe .NET 9). Meanwhile this solution seems to be working, just requires some more code.

hansmbakker commented 7 months ago

The tracking issue for that is https://github.com/dotnet/runtime/issues/93631 - maybe it can be added as a reference or link somehow.