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.
- Open Terminal and type
xcodebuild -scheme "Scheme Name" archive
- Once the archive is ready for you, you can check generated archive as usual within Organizer. You can find Organizer within Window menu.
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.