react-native 项目-ios打包相关配置问题-------后续继续更新

192 阅读1分钟

react-native 项目-ios打包相关配置问题

ios-苹果开发账号申请证书以及描述文件 文档地址

  1. note.youdao.com/s/6yaX71pz
  2. note.youdao.com/s/bdF0IkP0

1.1 打包时候一直报证书不匹配

Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Developer: GUIXING CHU (8V752KH9F7)" in the keychain. To sign with this signing certificate, install its private key in your keychain. If you don't have the private key, select a different signing certificate for CODE_SIGN_IDENTITY in the build settings editor.

解决问题:

image.png 这两个地方的证书描述文件都要改好

2.1 打包后上传到向日葵图标非项目app图标

image.png

实际上是这样的:

image.png

解决办法:找到项目根目录 ios-babasiba(这个要看你的名字)-》放置app图标(一定命名为AppIcon.png)-》(与Info.plist同级) 如下图:

image.png

2.3打包后出现默认语言不是设置的中文(主语言)

两个地方设置语言: 第一个 Global.js文件下

image.png 第二个i8n.js文件下

image.png