Python script to modify Marmalade for TestFlight

Posted on August 23, 2012 | Category :Uncategorized | No Comments

Here is python script that adds profile to IPA to make ready for upload

import zipfile
z1 = zipfile.ZipFile("c:/soft/Marmalade/6.0.6/examples/s3eMyApp/build_tapitexample_vc10/deployments/default/iphone/release/MyApp.ipa", "a")
z1.write("c:/Users/user/Dropbox/sign/embedded.mobileprovision", "Payload/MyApp.app/embedded.mobileprovision")
z1.close()

and for upload I use bat file that uses windows curl. no easy way to do it in python without installing some libs

Comments 0

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>