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.
0
votes
2 Answers
0
votes
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 :
- Open your xcode.
- 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.
- Now select your run device as 'Generic iOS Device'
- 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.
- 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.