Weex 执行weex build ios报错

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.’这是怎么个意思,啥操作?

各位大佬有晓得的不,在线等!


阿晨1998
浏览 926回答 2
2回答

慕斯王

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

ibeautiful

.xcode选中这个选项检查是否安装cocoapods。没有安装自行百度.终端cd到ios项目,确保项目目录里podfile文件存在,然后运行pod install 或者pod update再次执行weex build ios
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Vue.js