- Launch Xcode 5 (Product > Archive to build the archive)
- Goto Window > Organizer
- Select the latest archive and click on the Export button
- Select Save for Enterprise Deployment or Save for Ad Hoc Deployment
- Select your provisioning profile and then Export
- Choose a location to save the .ipa file
This is basically it. Hope it will help anyone looking for the answer.