Swiftpack.co - rive-app/rive-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by rive-app.
rive-app/rive-ios pre-high-level
iOS runtime for Rive
⭐️ 369
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/rive-app/rive-ios.git", from: "pre-high-level")

Build Status Discord badge Twitter handle

Rive iOS

Rive hero image

An iOS/macOS runtime library for Rive that supports both UIKit, AppKit, and SwiftUI.

The library is distributed both through Swift Package Manager and Cocoapods.

Table of contents

Rive Overview

Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.

:house_with_garden: Homepage

:blue_book: General help docs

🛠 Learning Rive

Getting Started

Follow along with the link below for a quick start in getting Rive iOS/macOS integrated into your multi-platform applications.

Getting Started with Rive in iOS

Supported Devices

Currently, this runtime library supports a minimum iOS version of 14.0+. Devices supported include iPhone, iPad, and Mac catalyst. macOS support supports a targeted version of 13.1.


Check out the Demo-App/ folder and Example-iOS/ folder for example applications using the Rive iOS/macOS runtime. It showcases a number of ways to use the high-level RiveViewModel API through UIKit and SwiftUI examples, including:

  • Setting a Rive file via a URL or asset in the bundle
  • Setting layout and loop mode options
  • Displaying single or multiple animations / artboards on one component
  • Setting up and maniuplating a state machine via inputs
  • ...and more!

Awesome Rive

For even more examples and resources on using Rive at runtime or in other tools, checkout the awesome-rive repo.

Migration Guides

Using an older version of the runtime and need to learn how to upgrade to the latest version? Check out the migration guides below in our help center that help guide you through version bumps; breaking changes and all!

Migration guides


We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.


Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.


Stars: 369
Last commit: 4 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1 week ago
  • Add a CG render context to the iOS runtime a795c2f
  • Rive Renderer fixes on iOS/debug b1cba70
  • Bump the iOS minimum version to 13 on native builds aeb5f94
  • Updating version files 3bc8705
  • Do iOS release builds on the hosted runner 7fee6f2
  • Don't use realpath in the workflows eeecd5c
  • Event fixes 469ed77
  • Fix issue with timeline events on first frame 05f11c1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics