From Pythonista project to TestFlight App
Hi everyone, I’m new to the forum (but not in Pythonista tough). I’m a high school student who develop a game with a few friends, and we are developing it in order to do a high school internal tournament in a few months on it. We’re already working in a “collaboration” with the high school so I have no doubt that with enough preparation it will be done. However, I need to export my game into TestFlight (already know about price and everything else....) but I never used Xcode and I also read in older threads that transferring Pythonista projects into Xcode was bugged. So I’m asking you, community:
- how can I make our tournament project as a beta-test app (for TestFlight) ?
- What are the steps to make it running in Xcode ?
I don’t have any experience with Xcode (like I said before), so a detailed step list would be wonderful, but every single answer is precious for me.
Also, technical details: i’m making the game in Python 3.7, using mainly UI and Scene modules of Pythonista (will also use sound effects module too)
(And for anyone who want to say “well it’s a technical forum and you’re asking something too large”, well, it may be true, but I’m already working in this project since more than 6 months with this wonderful Pythonista app, and would be completely devastated if exporting this project out of the app would be impossible. Yeah I know it’s kind of a cry, but... the actual stressful situation for me ^^ )
Last precision: I’m a French native, so please excuse me for my not so good English.
So... Thanks in Advance ! :-)
Isn’t it possible for the dev to make a new Xcode template ? Because else it’s like useless to make new modules if the projects made out of those modules can’t be exported outside of Pythonista...
@omz can you help us ? I can do a donation if needed, because me I really NEED THIS Xcode template......
People have been asking for a new template for a long time, you should not depend on it.
If you can refactor your code to use scene_drawing, then you ought to be able to get the existing template to work, with some effort (following the instructions in the other thread)
I was wondering... Is the dev active today ? All of their messages are 4 months ago, and his last tweet is from August....
Else I’m trying to understand more how to use this scene_drawing module, hoping for @omz to answer....
EDIT: how does Layer() class work ? Can’t find any documentation on it from the app....
@SmartGoat on second thought, maybe scene is supported. See for example https://github.com/chriswilson1982/BlackAndWhite which was released in the app store. i think the new scene module was included in pythonista 2.0. you will need to try running your code with the 2.7 interpreter, and making sure it is 2.x compatible.
Why not get the template and try it out...
I’m gonna try it out this night or tomorrow, i’ll keep you in touch; but is there an easy way to convert python 3.7 code to 2.7 ? Cause there is a 2 to 3 option in Pythonista, but I didn’t find the reverse.
Oh, and thank you for helping me making my dream come true ^^
Bonjour @SmartGoat ,
Can you tell us how it went? Did you have to convert to Python 2.7 first or was Python 3 working directly? So you succeeded creating an app? :-)
Merci ! -- Alex
Sorry @Satri, got difficulties with creating a macos virtual image to get a f*cking access to Xcode, so I didn’t try it for now; but I’ll of course publish my results once I get them !
smartgoat try this for converting
Mikael sent this to me for similar problem