Codementor Events

How to generate iOS build from Xcode

Published Sep 10, 2021
How to generate iOS build from Xcode

Before start following the below steps We should have all the certificates which required for IOS app distribution.

Generating build (IPA file) from Xcode, which we can share the build to the testing or the test users. The Following steps need to follow to generate the build.

  1. Open MyProject.xcworkspace file from Root/ios/ folder.

  2. Select from the build as Any iOS device option. Follow below screenshot:

1_3fBcKnPkUZ5ExYXoJG2uPw.png

1_Nlqc5VJT3MSeyvvVOlDaZg.png

  1. Go to Menu -> Product -> Archive option, Select Archive option.

  2. It will start generating the build, Once build generated it will open a new window with the build information, Attaching a screenshot for the detail.

1_jHpGGVfeDqm9bLW9wsPdXw.png

  1. Once open above window, we need to press on Distribute App button. It is shown at the right side of the screen. After pressing the button it will open a dialog box.

1_ftns06OXWY0vb6qA9jiaJQ.png

  1. So based on our required, we will select distribution option, Lets say we are sharing the build internally, then we will select Enterprise or Ad Hoc option. After selecting the option we need to press on the Next button. It will open another new dialog.

  2. Next we need to press on Next button.

1_5SvWtIwwmLFtwAsvwefAcA.png

  1. Once the press on next button it will open a new dialog with the Export button. At the press of Export button it will ask the location to save the IPA file (build).

1_pxKWL_j7io-ANihwkYleVw.png

  1. Now sharing build to external user there is some ways we can share the build to users, like AppCenter or Diawi url.

Check this url: https://appcenter.ms/ and https://www.diawi.com/

Thanks for reading

Hopefully You have found this article useful to generate the iOS build.
If you have any recommendation please let me know in the below comment section.

Discover and read more posts from Sahil Pandya
get started
post comments2Replies
Nitin Gohel
3 years ago

Nice and informative…! keep it up

Sahil Pandya
3 years ago

Thanks!