You will need to use the following steps to generate an IPA package for your application. For full details of this process please see the official Apple documentation.
Register UDIDs for all hardware devices in your provisioning profile.
Archive your application. In Xcode go to Product > Archive
Export the archive using the proper provisioning profile. Make sure to remember where the IPA file was placed on disk.