Publishing a UI Project to the App Store?
Hey all, I have a quick question. I have a couple UI apps semi-finished and was wondering if it’s possible to export them to Xcode or get them to the App Store somehow. I’ve read that there are ways to export Pythonista apps if they’re written in Python 2.0 or something like that but never the UI.
I am very interested in answers to this question even if (being new to Pythonista) I can't help.
I would like to deploy UI apps on devices for users (family) who would have a lot of difficulty entering Pythonista, finding the script and then finding the run button and then finding their way out of it.
Ideally I would like to encapsulate my script/UI in an App available through an Icon to the user. I am not interested in publishing to the AppStore because these apps are for customised day to day management and are of no interest to other users. (I don't mind publishing the code, I just don't see the need to clutter the AppStore with trivia).
Apple wants highly polished apps that are broadly applicable to many people so they will probably reject apps that are hackish or just for my family for inclusion in the official App Store. Last time I looked, they also required a $99 membership in their Developer Program. https://forum.omz-software.com/topic/3744/xcode-template-for-pythonista talks about recent experiences using https://github.com/omz/PythonistaAppTemplate to publish Pythonista apps to the App Store.
@olly , have a look at this link about Pythonista's URL scheme. You can create a Home screen Icon that could run your script. As long as you did the setup for family and friends you should be able to make it fairly painless thing for them to run your script.
But you have made me think of something. Would be nice if Pythonista had a param that could be passed to run Pythonista in a non development mode. Not as a security measure, just more like you describe. They click an icon on the home screen and basically Pythonista goes into a type of silent mode just to host the script.
I will put an issue on the Pythonista github repo. I think this would be a great addition. It may have be requested before, not sure.
Thanks for the help guys, one last thing. If I used the Pythonista UI Editor, will I need to rewrite it as a script or is it possible to export that?
Yes you can publish apps to the App Store. As indicated above, you need to be a registered developer etc. You also need to use the modified Xcode package which includes the “texinfo” workaround.
If your app idea is just for family, distribute it using TestFlight and avoid the app approval process and Apple’s UI rules etc. It’s like a private App Store, and you can send it to up to 2000 people.