为了账号安全,请及时绑定邮箱和手机立即绑定

Weex 执行weex build ios报错

Weex 执行weex build ios报错

阿晨1998 2019-03-01 20:57:25
weex打包ios的时候报错weex build ios报错如下:15:22:35 : Command failed: pod update15:22:35 : You should config `CodeSign` and `Profile` in the `ios.config.json`     We suggest that you open the `platform/ios` directory.    Package your project as a normal ios project!百度了一下,说需要在ios.config.json文件中配置CodeSign和Profile,可怎么配置?另外,其中‘We suggest that you open the platform/ios directory.’这是怎么个意思,啥操作?各位大佬有晓得的不,在线等!
查看完整描述

2 回答

?
慕斯王

TA贡献1864条经验 获得超2个赞

这其实就是weex的坑,前端同学只知道weex build ios。 然而 ios打包的前提需要配置pod库的第三方依赖,还有苹果开发者账号的证书签名。你想解决这个问题,只有下载xcode

查看完整回答
反对 回复 2019-03-01
?
ibeautiful

TA贡献1993条经验 获得超5个赞

.xcode选中这个选项
https://img1.sycdn.imooc.com//5c792c570001d7b706110178.jpg

检查是否安装cocoapods。没有安装自行百度
.终端cd到ios项目,确保项目目录里podfile文件存在,然后运行pod install 或者pod update
再次执行weex build ios

查看完整回答
反对 回复 2019-03-01
  • 2 回答
  • 0 关注
  • 921 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信