How to generate .ipa file for react-native?

2020-02-06 18:48发布

问题:

I am currently using React-Native version 0.40.0.

Can somebody give me a link on the process and steps on how to generate an .ipa file for ios?? I'm currently new to react-native.

Btw I'm using version 8 of Xcode

回答1:

Try Following

react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios


回答2:

Get .app file : Run this command -> react-native run-ios --configuration=release

Convert .app to .ipa :

  1. Create folder Payload.
  2. paste .app file into Payload folder.
  3. compress the Payload folder.
  4. change the name you want and put extension as .ipa.