Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples does not work + documentation is missing #290

Open
InfiniteFalltrough opened this issue Feb 12, 2024 · 3 comments
Open

examples does not work + documentation is missing #290

InfiniteFalltrough opened this issue Feb 12, 2024 · 3 comments

Comments

@InfiniteFalltrough
Copy link

All examples don't work (some headers are lost)

Xcode 15.2, M2 Pro

(we're stuck with the choice, since it is impossible to determine the capabilities of the library and code base indicates a large lag from web version ... )

Screenshot 2024-02-12 at 2 55 02 PM

@HayesGordon
Copy link
Contributor

Hi @InfiniteFalltrough sorry that you ran into this. It seems like in a recent change the "preview" scheme/target was removed.

The "preview" target uses the published Rive iOS runtime. While the other targets (with the error you're seeing above) is for development purposes.

We just pushed an update and this should be fixed.

You can also find getting-started documentation on the iOS runtime here (including instructions on selecting the correct scheme): https://help.rive.app/runtimes/overview/ios

You'll also find runtime specific documentation (with iOS examples) in the side panel of the runtime docs:
CleanShot 2024-02-12 at 13 50 08

Let us know if the above works for you and we'll go ahead and close this issue.

@InfiniteFalltrough
Copy link
Author

Hi @HayesGordon, thank you for the prompt response!

Yep, the scheme was delivered and everything works.

I see that there is very detailed documentation regarding the web part.
Perhaps this is not the right place for documentation question (please excuse me 😁) but I'll ask:
...to be short - our task is to rewind the animation back and forth (!manually in scroll!) with something like a 'scrub()' method (in the web part) in native iOS app.
I've researched the documentation/code(now I've even "touched" examples) but I've only found the ability to play animation backwards (which only works on some animations - btw it's also a little unclear). Is it possible to somehow access the animation timeline for manual rewinding?

I would appreciate any response, maybe I missed some part (or configuration of .riv animation should be "special").

@InfiniteFalltrough
Copy link
Author

InfiniteFalltrough commented Feb 20, 2024

Hi @HayesGordon, thank you for the prompt response!

Yep, the scheme was delivered and everything works.

I see that there is very detailed documentation regarding the web part. Perhaps this is not the right place for documentation question (please excuse me 😁) but I'll ask: ...to be short - our task is to rewind the animation back and forth (!manually in scroll!) with something like a 'scrub()' method (in the web part) in native iOS app. I've researched the documentation/code(now I've even "touched" examples) but I've only found the ability to play animation backwards (which only works on some animations - btw it's also a little unclear). Is it possible to somehow access the animation timeline for manual rewinding?

I would appreciate any response, maybe I missed some part (or configuration of .riv animation should be "special").

I found a way to do it on my own.

Well, issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants