如何为 react-native 生成 .ipa 文件? [英] How to generate .ipa file for react-native?
本文介绍了如何为 react-native 生成 .ipa 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前使用的是 React-Native 版本 0.40.0.
I am currently using React-Native version 0.40.0.
谁能给我一个关于如何为 ios 生成 .ipa 文件的过程和步骤的链接?我目前是 react-native 的新手.
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.
顺便说一句,我使用的是 Xcode 8 版
Btw I'm using version 8 of Xcode
推荐答案
尝试以下
react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios
如果您没有 index.js 的平台变体,则更改命令以定位您的单个 index.js:
If you do not have a platform variant of index.js, then change the command to target your single index.js:
react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios
这篇关于如何为 react-native 生成 .ipa 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文