I have done with all the settings of my react native project and trying to run on the IOS simulator, it's working fine. Means all the api working properly.
So now I have to share my .ipa file to team members for testing, so creating .ipa file I am using procedure defined on react nativeRunning On Device documentation.
For creating .ipa file using Xcode following below process:-
- In Edit Scheme option, change Build Configuration to release.
- Clean Build Folder
- Create Build.
- Archive build.
- After that exporting .ipa file using valid certificate.
Solutions I have tried:-
- Checked with this solution, because the domain I am using to hit web service is not secured.(It's http)
- Enable Transport security flag.
- Added main.jbundle (created using command line) to Copy Bundle Resource option in Build Phases.
- While adding Alert in api call, getting below error (check image)
Still No luck.
Please let me know, what I am doing wrong?