如何为 react-native 生成 .ipa 文件?
How to generate .ipa file for react-native?
我目前使用的是 React-Native 版本 0.40.0。
有人可以 link 告诉我如何为 ios 生成 .ipa 文件的过程和步骤吗?我目前是 react-native 的新手。
顺便说一下,我使用的是 Xcode
的第 8 版
尝试关注
react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios
如果您没有 index.js 的平台变体,则更改命令以针对您的单个 index.js:
react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios
获取 .app 文件:运行 这个命令 -> react-native 运行-ios --configuration=release
将 .app 转换为 .ipa :
- 创建文件夹 Payload。
- 将 .app 文件粘贴到 Payload 文件夹中。
- 压缩 Payload 文件夹。
- 更改您想要的名称并将扩展名设置为 .ipa。
我目前使用的是 React-Native 版本 0.40.0。
有人可以 link 告诉我如何为 ios 生成 .ipa 文件的过程和步骤吗?我目前是 react-native 的新手。
顺便说一下,我使用的是 Xcode
的第 8 版尝试关注
react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios
如果您没有 index.js 的平台变体,则更改命令以针对您的单个 index.js:
react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios
获取 .app 文件:运行 这个命令 -> react-native 运行-ios --configuration=release
将 .app 转换为 .ipa :
- 创建文件夹 Payload。
- 将 .app 文件粘贴到 Payload 文件夹中。
- 压缩 Payload 文件夹。
- 更改您想要的名称并将扩展名设置为 .ipa。