As part of the countinues integration process of my iPhone application, I want to create a process that will automatically upload the app (.ipa) file to the apple app store.
Make sure you have an application in "waiting to upload" state.
Create a new keychain Item Named: Xcode:itunesconnect.apple.com provide your credentials to itunes connect.
From the command line: xcrun -sdk iphoneos Validation -online -upload -verbose "path to ipa"
xcrun -sdk iphoneos Validation -online -upload -verbose "path to ipa"