From 57cff7fa47bd5cad8caf86155b0348d6d9f22ca7 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 13 Oct 2023 12:57:30 +0800 Subject: [PATCH] update README re dead strip on iOS --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 044d1fa3..5888350d 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,12 @@ uberz -TSHADINGMODEL=lit -TBLENDING=opaque -o lit_opaque_43.uberz lit_opaque (note that the number in the filename corresponds to the Material version, not the Filament version. Not every Filament version requires a new Material version). +## Releasing your app + +If you build your app in release mode, you will need to ensure that "Dead Strip" is set to false. + +This is because we only invoke the library at runtime via FFI, so at link time these symbols are otherwise treated as redundant. + ## Versioning ||Android|iOS|MacOS|Windows|Linux|WebGL| @@ -312,6 +318,7 @@ uberz -TSHADINGMODEL=lit -TBLENDING=opaque -o lit_opaque_43.uberz lit_opaque ** (Waiting for https://github.com/google/filament/issues/7078 to be resolved before upgrading, not sure exactly when the bug was introduced but it was somewhere between v1.32.4 and v1.40.0) *** Texture widget not currently supported on web in Flutter. + ## Testing We automate testing by running the example project on actual iOS/Android/MacOS/Windows devices and executing various operations.