Closed garantor closed 2 years ago
FYI This is I think similar to the issue I have seen with core.camera
where the camera provider is hidden by the kivy-ios libkivy.a
name space and the dynamic loader can't find it. In that case I was able to work around by patching the dynamic loader with a static import statement. https://github.com/RobertFlatt/kivy-ios/blob/master/kivy_ios/recipes/kivy/kivy_core_camera.patch As such it looks to me like a kivy-ios design issue.
In this case it is probably the library register https://github.com/kivy/kivy/blob/master/kivy/core/image/__init__.py#L992 that fails for the same namespace reason.
I assume the potential cases are
0000000000000000 T _PyInit_kivy_core_audio_audio_sdl2
0000000000000000 T _PyInit_kivy_core_camera_camera_avfoundation
0000000000000000 T _PyInit_kivy_core_clipboard__clipboard_sdl2
0000000000000000 T _PyInit_kivy_core_image__img_sdl2
0000000000000000 T _PyInit_kivy_core_image_img_imageio
0000000000000000 T _PyInit_kivy_core_text__text_sdl2
0000000000000000 T _PyInit_kivy_core_text_text_layout
thanks, @RobertFlatt i was able to solve this issue by specifying pil
and sdl
at the top of my main file as KIVY_IMAGE.
something like this,
import os
os.environ['KIVY_IMAGE'] = 'pil,sdl2'
and the above works fine
Versions
Describe the bug .gif image not running on Iphone, works fine when on mac
Logs
Screenshots
Additional context Add any other context about the problem here.