I have a number of apps which are similar in functionality and UI. I create the user interface by picking up variables from a .plist file. For instance, I save the source of the API from where I pick up the data.

Creating a new app involves just changing the values in the .plist file and rebuilding the app, and finally submitting it to the App Store. Also, I need to create Ad-Hoc provision files and build test releases too.

I wish to automate this process. For this I need to:

1. Build the app through the command line interface.
2. Upload the binary and other required files/information (app icon, description, etc.) to iTunes Connect.

Any pointers where I should look?