kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
781 stars 240 forks source link

Would it be possible to make Kivy apps on iOS with Pythonista and/or Pyto? #766

Open cclauss opened 1 year ago

cclauss commented 1 year ago

Is your feature request related to a problem? Please describe.

I use both Pythonista and Pyto to develop Python 3.10 apps on iOS. Both support some level of user interface but nothing as powerful as Kivy. Is it possible to make Kivy apps directly on iOS with one of these tools or do Apple's security guidelines prevent that?

Describe the solution you'd like Fire up Pythonista or Pyto and build Kivy apps using only my iPad.

Describe alternatives you've considered Going snowboarding.

Additional context Pythonista:

Pyto:

misl6 commented 1 year ago

Going snowboarding looks like a nicer alternative 😄

Unfortunately, I never used Pythonista or Pyto, nor do I know how it works under the hood.

Our bootstrap script is quite easy, and also the patching needed decreased over the years, but Kivy uses SDL as a window provider on iOS, which will need to control the window setup.

So yeah, maybe is feasible, even if not that easy, but it will need a lot of cooperation between Pythonista/Pyto and our team.

Would something like https://github.com/kivy/kivy-launcher (works on Android, lacks iOS support but it's not hard to add) will work for your use case?

Basically, the Kivy launcher is a pre-packaged app with all the needed requirements, which is able to run a .py script (that you can edit anywhere else) with your App code.

cclauss commented 1 year ago

@omz and/or @ColdGrub1384 Any interest in working to build Kivy apps directly on iOS devices?

cclauss commented 1 year ago

@misl6 I did go snowboarding anyway. I live on the Swiss side of the Stelvio pass so just a bit North of you. 🏂