Hi, I am trying to make small skottie ios app using metal, but struggle to run it.
I got runtime crash in skottie::internal::AnimationBuilder::~AnimationBuilder() at /Desktop/skia/modules/skottie/src/SkottiePriv.h:52
So I build skia like official ios metal readme said (I tried M114, M113, M108 and main, same errors). Here is my last build parameters:
target_os="ios" target_cpu="arm64" skia_use_metal=true skia_use_expat=false skia_enable_pdf=false cc="clang" cxx="clang++"Then, I stole libs.a, headers and ios files (like SkottieViewController) from output, added them to empty iOS app xcode project. Got that skottie::internal::AnimationBuilder crash
Without logger there is no errors and there is nothing on the screen.
Here is the project, but I didn’t upload libSkia.a, libSkottie.a etc files because they are huge. But xcode references is there, so if you want to run, you need to drop that libs.a's in /skia-libs/libs
https://github.com/damikdk/skottie-ios
Used animation is simple and tested in other players, like skottie web player
What am I doing wrong? thank you in advance