After that open your Finder.app and drag-and-drop your project's .xcodeproj or .xcworkspace file into the command line in your terminal.
Once it's done you'll have all the required files exported, ready for upload.