Sometime you might like to create an archive without using Xcode interface with just one command using a terminal. Well, if you are searching something like this, you are at right place.
xcodebuild -scheme "Scheme Name" archive
This is helpful when you are trying to create multiple archives while any of your previously archived app is uploading. Using above command line, you can create an archive in the background ready to upload to the app store.
That’s all. Let me know if you think this is useful or not.