HELP! How do I submit apps to the App Store from inside Pythonista?
I spent 7 bucks on an app expecting to be able to submit Python programs to the App Store. How do I do this?
There currently is no way to export a project to the App Store from within the App. There is no app in the App Store that can do this. In order to get an app to the App Store, you have to use a MAC, have a developer account, and use Apple's Xcode
Here is what you do:
Build app in Pythonista
Export to Dropbox
Download the Xcode project template to your MaC computer
Set up a developer license with Apple (99$ a year)
Put Python script and template together in Xcode and build app to submit to App Store
Like it or not. This is the process. It's not perfect, but the road to App Store success is bumpy😉
The technology to build and submit apps directly to App Store just doesn't exist yet....and I am sure Apple doesn't allow it. However, given the growth and advancements in the industry it could only be a few years from now that you can build package AND submit an app entirely from your iPhone 8+
I hope I was helpful, Pythonista is a great app and I hope you don't feel like you wasted your money. Focus on learning what Python can do and understanding its syntax and go from there.....
My name is Jeff. Good Luck on your coding endeavors.
I feel like I did waste my money, I was using Pythoni and now I know I switched a free app for an exactly the same $6.99 app. Thanks for the help though. Pythonista shouldn't allow any implication of being able to submit to the App Store directly through the application.
Unfortunately it's a bit more complicated than that. You'll need a $99/year Apple Developer license in order to submit apps or even test them on a device. More details are at https://developer.apple.com; if you sign up, you can download omz's Xcode template and copy your scripts over.
The more popular option for sharing scripts is putting them on Github (https://github.com). The downsides to this are that they're harder to install and you need Pythonista to do it.
JonB last edited by
Where did you get the impression that you can submit an app directly to the app store!? The App description doesn't mention Xcode at all. Nor does the pythonista website (it takes some specific searching specifically for pythonista and xcode to get links to the xcode templates). A few reviews on the App Store mention "facilitating exporting code for the App Store", which is true.
I think if you actually use pythonista you'll find that it is much more full featured than pythoni (graphics, custom ui, a number of custom ios modules, etc).
I find the statement that Pythoni is equivalent to Pythonista to be shocking and deeply humorous.
If the $6.99 app cost is a high hurdle, then Apple's annual fee of $99 will positively break the bank.
Well, thanks for the "expertise". :) Now that I have Pythonista, I probably should use it over Pythoni, but will Apple accept code written in Pythonista? Pythonista has differences in the languages because of their ui and motion and notifications stuff. Also, this review one of you mentioned, it said 'facilitate exporting them as apps for the app store'. Does pythonista at least have some sort of converter so you can then use your code for an app?
P.S. I have tried pyobjc, it doesn't work, so please give alternatives if Pythonista is not able to do this.
briarfox last edited by
NO app will be able to do this, you must have a Mac and the $99 dev license. Pythonista is by far the best python app on the app store.
See https://github.com/Pythonista-Tools/Pythonista-Tools/blob/master/Pythonista Apps in the Apple AppStore.md for Pythonista apps that are already available in Apple's AppStore. It can be done but it must be done via the template and Apple's app process (XCode, Membership in Apple's Dev Program, App review, etc.).
Gerzer last edited by
jmv38 last edited by
This is correct:
its strongest competitor is Codea, a programming app for a completely different coding language.
But this second part I dont agree:
Pythonista is still better
I think it depends on what you want to achieve. Both apps are great, let's call it a deuce. :-)
At risk of derailing the thread…
I think each app has its strong suits—Codea looks good for making games and simulations, but Pythonista is definitely better for scripting and interoperability, has an easily accessible filesystem, and most importantly runs on iPhone.
polymerchm last edited by
Having built and distrubuted via github, a highly complex gui based music application in pythonista that I would have paid $15ish for as a less capable standalone applicaiton, I'll take pythonista. At some later date, if I can make a buck off it, that would be a bonus, but not a requirement.
I haven't gotten an answer to my second question. Will a Pythonista-made application be acceptable to the App Store? I know all about the needing a Mac part, the $99 dollar a year subscription fee, but that is not my question. I apologize if I sound rude, I am just a bit frustrated.
polymerchm last edited by
There is someone (can't remember who) that used @OMZs xcode template to put one or two pythonista apps (with the full embedded python 2.7 interpreter and supported modules) up on the iTunes app store. That was with the current 1.5 version. OMZs comment was that until he can develop the 64-bit version as stable, it not a sustainable situation, because Apple won't allow 32-bit apps moving forward.
@OMZ, if your not too busy getting 1.6 back on line (hint, hint), you can confirm these thoughts.
Here are some of those apps: https://github.com/Pythonista-Tools/Pythonista-Tools/blob/master/Pythonista Apps in the Apple AppStore.md
Pythonista-based apps are already more native than bottled-up web apps that run WebKit inside (of which there are many), so there's no real reason to worry about it being "acceptable".
jesse last edited by
The short answer is not right now, but eventually yes.
It was possible in the recent past (I submitted one, although I had to withdraw it...long story).
You should also be able to submit them again in the future (probably when Pythonista version 1.6 comes out, or shortly thereafter).
Apple changed their policy a few months ago and no longer allows 32 bit apps to be submitted, but the old solution for Pythonista involves libraries that don't work with 64 bit apps (at least not easily...it might be possible, but it's not trivial).
So go ahead and work on your app, get it nice and polished, and hopefully by that time the new xCode template will be available and you'll be able to start the hard part of your journey (figuring out all the obtuse requirements of getting from a "finished" app to actually getting it submitted to the app store).
@jb145491, I did answer your question above with a link to five different Pythonista apps that are already in Apple's AppStore.
There already is an updated template that @omz put together. I found it posted in a similar thread. There is a link to download it. I have it saved in Dropbox. I haven't used it yet, but it does exist.