Commit Graph

21 Commits

Author SHA1 Message Date
dskuza
8b8844e9a8 feat(apple): add support for building lite frameworks (#10130) 1fb3654049
Co-authored-by: David Skuza <david@rive.app>
2025-07-09 14:26:23 +00:00
mjtalbot
792186de12 chore: fix typo (#9935) 8101af5003
Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
2025-06-09 14:54:28 +00:00
mjtalbot
d12cc6d2c0 Fake ios (#9934) 4cf84ca61d
chore: fix typo

Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
2025-06-09 12:19:10 +00:00
dskuza
7317f695fb fix(apple): resolve Preview (iOS) scheme build errors (#9818) 5007acb498
Co-authored-by: David Skuza <david@rive.app>
2025-06-04 14:50:39 +00:00
dskuza
95249048d7 build(ios): support building all runtimes by debug or release
Adds support for building all in _only_ debug mode, _only_ release mode, or all (both debug + release).

Additionally updates the release script to build _only_ release libs, which should speed up overall release times.

The iOS runtime expects release builds of the c++ runtime, so by utilizing `build.sh all release` we can shrink build times, both locally and for releases.

Here are some rough timings. The times are an average of three runs:

- `build.sh all debug`: 6m15s
- `build.sh all release` 5m38s
- `build.sh all`: 11m54s

This shaves off almost 50% of the build time (which makes sense, since we're cutting out half of the builds).

Diffs=
820f8fe027 build(ios): support building all runtimes by debug or release (#8966)

Co-authored-by: David Skuza <david@rive.app>
2025-02-10 15:52:44 +00:00
csmartdalton
d2af535e7b Download python-ply inside of premake
This way clients don't have to configure a virtual environment and install it.

Diffs=
31bf5a44f Download python-ply inside of premake (#8285)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2024-10-07 18:52:49 +00:00
dskuza
8f31d69f4b Update iOS contributing guide
See title. Additionally, this removes the skia build scripts and updates the major version dependency rule to v6.0.0 in the Preview app.

Diffs=
8773f56fc Update iOS contributing guide (#8018)

Co-authored-by: David Skuza <david@rive.app>
2024-09-04 12:43:19 +00:00
rivessamr
e6555736af Runtime ios switch to rive-runtime from rive-cpp
This is part 1 of the update to switch downstream rive-android to use submodule rive-runtime instead of rive-cpp

After this is merged, another PR in the downstream repo must be made to change the .gitmodules and also move submodules/rive-cpp to submodule/rive-runtime

Diffs=
345e07ecf Runtime ios switch to rive-runtime from rive-cpp (#8024)

Co-authored-by: rivessamr <suki@rive.app>
2024-09-04 01:10:16 +00:00
Maxwell Talbot
97daf48c55 manually apply upstream change 2024-06-04 14:39:26 +01:00
HayesGordon
b07a2a46c0 feat: add preview target to ios and macos runtime example
This is similar to the Android PR that added build variants to make it easier to build the example apps, see: https://github.com/rive-app/rive/pull/6088

With this PR we're now making use of additional targets that shares code with the parent examples (iOS and macOS respectively). Then there are two new schemes that you can select when playing `preview` and `preview (macOS)`, which will use the above mentioned targets that uses the hosted Rive dependency instead of the local one.

This works well, but is not as smooth of an implementation as Android, where it was simply switching out a build flag. With this implementation we'll also need to semi-manually bump the hosted version - see the additional docs in `CONTRIBUTING`.

There might be a way that we could make this smoother. It'll only be a headache for examples that make use of new features. Where after we release, we'd then need to do another PR that updates the minimum version for the `preview` targets. We could likely look into automating this by scripting the change in the Xcode config.

Diffs=
d78a6561a feat: add preview target to ios and macos runtime example (#6096)

Co-authored-by: Gordon <pggordonhayes@gmail.com>
2023-10-19 16:29:54 +00:00
luigi-rosso
24022f52e2 Run android tests on hosted runners.
Diffs=
12f35ace2 Run android tests on hosted runners. (#5818)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2023-08-30 15:53:52 +00:00
csmartdalton
6af3685548 Add a simd library for SSE / NEON / WASM_SIMD
Adds a "simd" namespace with vector utilities (SSE, NEON, WASM_SIMD),
and implements RawPath::bounds in SIMD. This namespace relies
exclusively on the latest clang vector extensions, so from here on, Rive
needs to be built with a recent clang. On our own bots, we had to bump
the Android builder to NDK r25b, the Ubuntu builder to 22.04, and the
MacOS builder to macos-12.

RawPathBounds bench result:

  MacOS:   2.37ms -> .579 (4.1x)
  Windows: 3.53ms -> 1.68 (2.1x)

Windows SSE can be optimized down to .927ms (3.8x) by forcing the SSE
min/max instructions, but they have different behavior with NaN, which
is why clang doesn't use them directly, so it seems like an
over-optimization at this point.

Diffs=
986b49674 Add a simd library for SSE / NEON / WASM_SIMD (#4199)
2022-08-30 22:55:04 +00:00
zplata
5fd2145a9d Docs: Update docs for the iOS runtime README and CONTRIBUTING md files to the simplified format
Getting this format to match the other runtimes new README format.

Diffs=
671b8172f Docs: Update docs for the iOS runtime README and CONTRIBUTING md files to the simplified format
2022-08-02 15:05:40 +00:00
mjtalbot
57086995d6 adding all the updates to make ios build from the mono repo, and push…
… downstream

just tagging you all for visibility  will pepper a few comments in here and hit merge....

Diffs=
90e1d4cf7 renamed release script to releaase & removed unused scripts
418044ebf updates to renderer build defines
a1af986be adding all the updates to make ios build from the mono repo, and push downstream
2022-07-07 12:54:17 +00:00
Mike Reed
d0d0a8eef4 Update aws help 2022-04-25 11:35:58 -04:00
Mike Reed
38b5176e8a update readme 2022-04-07 11:45:01 -04:00
Maxwell Talbot
54782f1ba9 update build scripts to include force rebuilding 2022-03-18 15:03:56 +00:00
Maxwell Talbot
f842053bc8 update docs 2022-03-15 18:35:18 +00:00
Maxwell Talbot
6e796419bc update module to be https for swiftpm experiment 2022-03-11 17:09:09 +00:00
Maxwell Talbot
a2c02b20f3 changed up build scripts to add a zip output for releases and make swiftPM & cocoapods use that 2022-03-10 20:03:30 +00:00
Maxwell Talbot
e993745c1a updated readme/contributing/gitignore and moved search headers to look in dependencies 2022-03-10 20:03:30 +00:00