How to generate .ipa file for react-native?

拜拜、爱过 提交于 2019-12-17 20:32:54

问题


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.


来源:https://stackoverflow.com/questions/41970435/how-to-generate-ipa-file-for-react-native

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!