I've made a new Xcode template for turning Pythonista scripts into apps. It's based on the current beta of v. 1.6, so it's work-in-progress...
Some notes:
-
64-bit devices (iPhone 5s/6, iPad Air...) are supported now, but the 64-bit simulator isn't, so if you want to run your app in the iOS simulator, please choose a 32-bit device (e.g. iPad 2 or iPhone 5).
-
It's now easier to include pyui files, images etc. Just put them in the
Scriptfolder, next tomain.py, and they should be installed automatically when you build the project. Anything that is in this folder will be copied to the documents directory of the app, so you can access those files just like you would in Pythonista, and things likeui.load_view()should "just work". -
In previous versions of the template,
matplotlibwasn't supported, this should be fixed.
Download: → PythonistaProjectTemplate_160.zip (101.8 MB)
Please let me know if you have any problems getting this to work.