Ugh – iTunes Connect is really annoying to use when it comes to screenshots. There’re [some third party tools](http://realmacsoftware.com/blog/mastering-itunes-connect-transporter) [out there](https://github.com/sshaw/itunes_store_transporter), but it was still too hands-on for my workflow.
So I wrote a little script that does the stuff I want. I have a Sketch document that exports all the screenshots, and the script updates the iTunes Connect metadata XML appropriately.
In case it’s useful to anyone else:
Usage:
Work on screenshots
Setup:
alias iTMSTransporter="/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter"
Grab latest ITMS data:
iTMSTransporter -m lookupMetadata -u [email protected] -p password -vendor_id APPVENDORID -destination YourApp.itmsp
Open up the metadata.xml and remove the fields you don’t want to change – this is probably going to be the currently-live version, and maybe the product info at the bottom.
Export all the screenshots into the itmsp package folder
Run this tool (
update_itmsp_screenshots.php YourApp.itmsp
)Check that everything looks okay
Verify
iTMSTransporter -m verify -u [email protected] -p password -f YourApp.itmsp
Upload
iTMSTransporter -m upload -u [email protected] -p password -f YourApp.itmsp