rive-app/rive-ios

Animation freezing

Opened this issue · 5 comments

When I first load the screen with animation, the animation itself freezes for me.
Also, during this, I see a message in the console:
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...

Can you tell me how I can fix this?

Hi @insaite can you share the code that you're using. Also be sure to include your Rive file (.riv) as a resource in your application.

Be sure to take a look at the iOS getting started docs: https://help.rive.app/runtimes/overview/ios

Unfortunately, I don't have the permission to share the animation file. But it's not necessary since I'm getting the same result using 'rive_animation_logo.riv'. The code example is standard, as in the documentation.

struct ContentView: View {
var body: some View {
RiveViewModel(fileName: "rive_animation_logo")
.view()
}
}

I had the same problem on Friday. Try specifying the animationName field. The name of the animation can be viewed here by uploading .riv

Unfortunately, it didn't help, the behavior didn't change.

I face the same issue.