RN iOS打包流程

  • 项目iOS目录下新建bundle文件夹

RN iOS打包流程

  • 终端执行命令
react-native bundle --entry-file index.js --bundle-output ./ios/bundle/index.ios.jsbundle --platform ios --assets-dest ./ios/bundle --dev false
  • 打开Xcode,将bundle文件拖进去,注意这里是选择reference ,不是Group

RN iOS打包流程

  • 终端cd 到项目iOS目录,执行pod install 初始化第三方依赖库。

  • Xcode配置证书、Xcode -> product -> Archieve 打包

相关文章:

  • 2022-12-23
  • 2021-10-29
  • 2022-01-24
  • 2022-12-23
  • 2021-09-29
  • 2022-01-01
  • 2021-12-20
猜你喜欢
  • 2021-11-29
  • 2021-04-29
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案