0
votes

How to generate IPA debug for iOS in react native? Like in android, every time execute react-native run-android, we can see the debug apk inside apk/debug app-debug.apk. But for iOS I cant find that file.

2

2 Answers

0
votes

There is no .apk for iOS. There is .ipa for iOS.

You need the generate iOS build through Xcode.

0
votes

First of all for iOS you have to generate .ipa not .apk. You have to use xcode to generate release ipa. Here is process to do that :

  1. Open your xcode.
  2. Set you build configuration debug to release. To do that on your xcode menu bar click on product > scheme > edit scheme. Now, it will open a dialog, in that dialog there is a tab called 'run' where you can change your build configuration build to release. detail image
  3. Now select your run device as 'Generic iOS Device'
  4. Then Click on product from menu bar and you can see 'Archive' menu is clickable. Click on 'Archive', now your release ipa is on building.
  5. When this process complete a dialog will be displayed when you have an option to export it. Export it wherever you want.

Note, this ipa may only run on registered device only.