In Xcode Version 10.0
- Go to Window -> Organizer
- Then select your app archive from archives
- Then click the “Distribute App” button on right panel

- Then follow the below steps
Step 1

Step 2

Step 3

Step 4

Step 5

Step 6 : Finally select the place you want to save the .ipa file

In Xcode Version 9.2
- Go to Window -> Organizer
- Then select your app archive from archives
- Then click the “Upload to App Store” button on right panel
- Then follow the following steps
Step 1

Step 2

Step 3

Step 4
Finally select the place you want to save the .ipa file
