nskrypnik / kivy3

3D graphics framework for Kivy.
MIT License
85 stars 43 forks source link

Can kivy3 run on IOS? #30

Closed liu00222 closed 4 years ago

liu00222 commented 4 years ago

Hi,

Thank you so much for providing this wonderful package for 3D object creation! I am trying to convert a project which applies kivy and kivy3 to an XCode project to make it run on IOS. I followed the instructions on kivy-ios. However, when I build the project, some errors occur:

2020-07-26 20:56:30.162287-0500 someapp[44344:10217148] Available orientation: KIVY_ORIENTATION=LandscapeLeft LandscapeRight Portrait PortraitUpsideDown
2020-07-26 20:56:30.162458-0500 someapp[44344:10217148] Initializing python
2020-07-26 20:56:30.307292-0500 someapp[44344:10217148] Running main.py: /Users/admin/Library/Developer/CoreSimulator/Devices/CB9537FB-AF9F-4989-8F79-F4CEDA6C3E31/data/Containers/Bundle/Application/73C5D7BD-0840-41EE-BDA8-900CEC5CEBF2/someapp.app/YourApp/main.pyc
[INFO   ] [Kivy        ] v2.0.0rc1, git-Unknown, 20200726
[INFO   ] [Kivy        ] Installed at "/Users/admin/Library/Developer/CoreSimulator/Devices/CB9537FB-AF9F-4989-8F79-F4CEDA6C3E31/data/Containers/Bundle/Application/73C5D7BD-0840-41EE-BDA8-900CEC5CEBF2/someapp.app/lib/python3.8/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.8.2 (default, Jul 26 2020, 15:12:31) 
[Clang 11.0.3 (clang-1103.0.32.62)]
[INFO   ] [Python      ] Interpreter at "/Users/admin/Library/Developer/CoreSimulator/Devices/CB9537FB-AF9F-4989-8F79-F4CEDA6C3E31/data/Containers/Bundle/Application/73C5D7BD-0840-41EE-BDA8-900CEC5CEBF2/someapp.app/someapp"
[INFO   ] [Factory     ] 184 symbols loaded
[INFO   ] [Image       ] Providers: img_imageio, img_tex (img_dds, img_sdl2, img_ffpyplayer, img_pil, img_gif ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'OpenGL ES 2.0 APPLE-17.10.22'>
[INFO   ] [GL          ] OpenGL vendor <b'Apple Inc.'>
[INFO   ] [GL          ] OpenGL renderer <b'Apple Software Renderer'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <b'OpenGL ES GLSL ES 1.00'>
[INFO   ] [GL          ] Texture max size <4096>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 /Users/admin/Library/Developer/CoreSimulator/Devices/CB9537FB-AF9F-4989-8F79-F4CEDA6C3E31/data/Containers/Bundle/Application/73C5D7BD-0840-41EE-BDA8-900CEC5CEBF2/someapp.app/lib/python3.8/site-packages/numpy/ma/core.py:4466: SyntaxWarning: "is" with a literal. Did you mean "=="?
   if self.shape is ():
Assertion failed: (PyBytes_Check(__pyx_v_name)), function __pyx_pf_4kivy_8graphics_6vertex_12VertexFormat_4__init__, file kivy/graphics/vertex.c, line 3047.
(lldb) 

I really have no idea how to solve this. I am asking if kivy3 supports the conversion to an XCode project. Do you have any thoughts on how to handle this?